Getting Started with G-Golf

G-Golf will let you import and work with any GObject-Introspectable GNOME library11. Since we need to make a choice among so many, to guide new comers and get them started with G-Golf, let’s pick-up Gtk, and show how to Create interfaces that users just love.

Please note that in the entire course of the G-Golf manual, unless otherwise specified, examples are based on and use Gtk-4.0, Gdk-4.0 and Gsk-4.0 - which is new and only available with Gtk-4.0.

G-Golf itself perfectly works and support Gtk-3.0 and Gdk-3.0.

We shall complete this brief introduction mentioning that the GNOME team wrote a guide to help Migrating from GTK 3.x to GTK 4.


Footnotes

(11)

In its compiled form, a GObject-Introspectable GNOME library is called a Typelib - a binary, readonly, memory-mappable database containing reflective information about a GObject library.