Ui design best practice in Gnomebuilder gtk4

Hello. I was wondering what is the best practice for a ui design in GTK4. Create the ui in code or manually edit the xml file. I know Glade does not support GTK4.

Thanks

The best practice for GTK4 is to write UI definition files by hand, at the moment. Using composite templates will minimise the size of UI definition files, and keep them maintainable.

You can also use Cambalache as a visual design tool that supports GTK4; or Blueprint, as a more human-friendly syntax as opposed to XML. In the future, GNOME Builder will also have a UI design tool.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.