Introducing Cambalache 0.90: A Powerful Tool for Creating GTK Interfaces

Published project release Cambalache 0.90, which develops a rapid interface development tool for GTK 3 and GTK 4, using the MVC paradigm and a data model-first philosophy. Unlike Glade, Cambalache provides support for maintaining multiple user interfaces in a single project. The code is written in Python and supplied licensed under LGPLv2.1. For installation available package in flatpak format.

Cambalache is independent of GtkBuilder and GObject, but provides a data model consistent with the GObject type system. The data model can import and export multiple interfaces at once, supports GtkBuilder objects, properties and signals, provides an undo stack (Undo / Redo) and the ability to compress command history. The cambalache-db utility is provided to generate a data model from gir files, and the db-codegen utility is provided to generate GObject classes from data model tables.

The interface can be generated based on GTK 3 and GTK 4, depending on the version defined in the project. To provide support for different branches of GTK, the workspace is created using the Broadway backend, which allows you to render the output of the GTK library in a web browser window. The main Cambalache process provides a WebKit WebView-based framework that uses Broadway to broadcast output from the Merengue process, which is directly involved in rendering the user interface.

In the new version, the Cambalache user interface has been translated to the GTK 4 library. The widget catalog has been updated for GNOME SDK 46. The capabilities associated with binding actions to context menu elements and the translation of tooltips to buttons have been expanded. The assignment of the number 0.90 after versions 0.1x is explained by the approaching readiness to release the Cambalache 1.0 release.

Thanks for reading: