Glade Interface Designer Explained

Glade Interface Designer
Glade
Author:Damon Chaplin[1] [2] [3] [4] [5]
Developer:The GNOME Project
Released:[6]
Discontinued:yes
Latest Release Version:3.40
Programming Language:C, XML
Operating System:Unix-like, Windows[7]
License:GNU General Public License
Replaced By:Cambalache Interface Designer

Glade Interface Designer is a graphical user interface builder for GTK, with additional components for GNOME. In its third version, Glade is programming language - independent, and does not produce code for events, but rather an XML file that is then used with an appropriate binding (such as GtkAda for use with the Ada programming language).

Glade is free and open-source software distributed under the GNU General Public License. Glade's development and maintenance ceased in 2022, with the final release on 10 August 2022.[8]

History and development

The first Glade release, version 0.1, was made on 18 April 1998.

Glade 3 was released on 12 August 2006. According to the Glade Web site, the most noticeable differences for the end-user are:

Most of the difference is in the internals. Glade-3 is a complete rewrite, in order to take advantage of the new features of GTK+ 2 and the GObject system (Glade-3 was started when Glade-1 hadn't yet been ported to GTK+ 2). Therefore, the Glade-3 codebase is smaller and allows new interesting things, including:

On 5 April 2011, two parallel installable stable Glade versions[9] [10] [11] were released:

On 11 June 2015 Glade 3.19.0 was released. It depends at least on GTK+ 3.16.0. Among many bug fixes this version is the first to support the widgets GtkStack, GtkHeaderBar and GtkSidebar.[12]

GtkBuilder

GtkBuilder is the XML format that the Glade Interface Designer uses to save its forms. These documents can then be used in conjunction with the GtkBuilder object to instantiate the form using GTK. GladeXML is the XML format that was used with conjunction with libglade, which is now deprecated.[13]

Glade Interface Designer automatically generates all the source code for a graphical control element.

The "Gtk.Builder class" allows user interfaces to be designed without writing code.[14] The class describes the interface in an Extensible Markup Language (XML) file and then loads the XML description at runtime and creating the objects automatically. The Glade Interface Designer allows creation of the user interface in a WYSIWYG manner. The description of the user interface is independent from the programming language being used.

Code sketching

Code sketchers are software applications that help a user create source code from a GladeXML file. Most code sketchers create source code which uses libglade and a GladeXML file to create the GUI. Some sketchers are able to create raw code that does not need the GladeXML file. The table below compares basic information about GladeXML code sketcher packages.

NameAuthorProgramming languagesSoftware license
eglade Daniel ElphickEiffelEiffel Forum License
GladexChristopher Pax and Charles Edward PaxPerl, Python, RubyGPLv3
glcBill AllenPythonLGPL
ruby-glade-create-template Masao MutohRuby
TepacheSandino Flores MorenoPythonLGPL
GladeToBacThomas FreiherrFreeBASIC (includes headers for GTK-3 andGTK-2.22.0 / GTKGlExt-1.2.0)GPLv3
Glade2FBArnel BorjaFreeBASICGPLv3
gate3F. J. FabienAdaMIT License

Cambalache

Cambalache
Cambalache
Author:Juan Pablo Ugarte
Repo:https://gitlab.gnome.org/jpu/cambalache
Programming Language:Python
Operating System:Unix-like
License:GNU Lesser General Public License
Website:https://flathub.org/apps/ar.xjuan.Cambalache
Replaces:Glade Interface Designer

Cambalache (/kambaˈlat͡ʃe/)[15] is a free and open-source rapid application development (RAD) tool[16] [17] designed for creating user interfaces with GTK 4. It is designed as a successor to Glade,[18] [19] with a focus on supporting the latest GTK 4 library while maintaining compatibility with GTK 3. Cambalache is geared toward developers working within the GNOME ecosystem. Cambalache's design emphasizes the Model-View-Controller (MVC) architecture, ensuring separation between the UI components and the business logic of applications.

The UI editing workspace is driven by a separate process called Merengue which interfaces with Casilda, a Wayland compositor embeded in a GTK widget. This architectural choice improves stability by separating the user interface preview from the main application. This separation enables the system to handle different GTK versions efficiently, ensuring the rendered UI accurately mirrors the application's appearance and behavior.[20]

See also

External links

Notes and References

  1. News: Rapid Application Development with Python and Glade ]. 1 July 2004 . David . Reed . Linux Journal . Damon Chaplin wrote the Glade program.
  2. Web site: Glade FAQ version 1.0 . 2000 . Damon . Chaplin.
  3. Book: Running Linux . 3rd . Matt . Welsh . Matthias . Kalle Dalheimer . Lar . Kaufman . August 1999. Appendix B The GNOME Project > B.5.3 Programming Tools > ..."Of particular interest is Damon Chaplin's Glade..."
  4. Web site: Damon Chaplin (author of the original Glade tool) . 2013-02-18 . bot: unknown . https://web.archive.org/web/20061103153407/http://www.gnomejournal.org/article/50/glade-3-sees-the-light-of-day . 3 November 2006.
  5. Web site: Historical Glade website . 2013-02-18 . bot: unknown . https://web.archive.org/web/19990423044329/http://glade.pn.org/ . 23 April 1999.
  6. Web site: GLADE GTK+ User Interface Builder > History > The first release, Version 0.1, was on 18. Apr 1998 . 2013-02-18 . bot: unknown . https://web.archive.org/web/19991008021612/http://glade.pn.org/history.html . 8 October 1999.
  7. Web site: Files · master · GNOME / Glade.
  8. Web site: 2022-08-10 . Rolling last release! (b3823efd) · Commits · GNOME / Glade · GitLab . 2024-10-09 . GitLab . en.
  9. Web site: [Glade-devel] Glade 3.10.0 Released]. dead . https://web.archive.org/web/20110606214843/http://lists.ximian.com/pipermail/glade-devel/2011-April/001891.html . 6 June 2011 .
  10. http://glade.gnome.org/news.html Glade 3.8.0 and 3.10.0 released
  11. Web site: [Glade-devel] Glade 3.9.0 Released]. dead . https://web.archive.org/web/20110112181550/http://lists.ximian.com/pipermail/glade-devel/2011-January/001858.html . 12 January 2011 .
  12. Web site: Glade 3.19.0 Released!. 12 June 2015. https://web.archive.org/web/20150614031300/http://lists.ximian.com/pipermail/glade-devel/2015-June/002090.html. 14 June 2015. dead.
  13. Libglade officially deprecated in favor of GtkBuilder. . Gnome devel-announce-list . 11 May 2009 . 13 November 2010.
  14. Web site: Gtk 3.0 documentation on github.
  15. GUADEC 2024 Cambalache: road to version 1.0 . 2024-08-02 . GNOME . 2024-09-11 . YouTube.
  16. Web site: Intel . Altus . 2021-12-10 . Release Cambalache 0.8.0, GTK Interface Development Tool . 2024-09-11 . Altus Intel . en-AU.
  17. Web site: Darkcrizt . 2021-07-22 . Cambalache, a tool for creating Gtk user interfaces . 2024-09-11 . Linux Adictos . en.
  18. Web site: Cambalache on alternativeto.net .
  19. Web site: 2021-08-25 . Create Beautiful User Interface for Gtk applications with Cambalache . 2024-09-10 . CONNECTwww.com . en-US.
  20. Web site: 2024-09-26 . New Cambalache Release 0.92.0! – ar.xjuan.Blog . 2024-09-30 . en-US.