Interfacing Raku to Gnome GTK+


The tutorial section tries to explain how you can build your own GUI (Graphical User Interface) in Raku based on the gnome libraries such as gtk, gdk and glib. As the GTK+ library builds upon other libraries such as glib and gdk, the Gnome::Gtk3 package depends on Gnome::Gdk3 and Gnome::Glib among others.

Many techniques will pass and lead you along all kinds of details like creating and showing windows, adding widgets, using dialogs and sending signals to name a few.

At first, a large part of the tutorial will be about building your GUI by hand. There are some sections in between to tell you something about how the Raku modules are set up. Later sections will be about making use of XML files, possibly generated from the GTK+ GUI designer program Glade, how to make use of stylesheets, resources, applications, drag and drop, …. To get more detailed information of each module, there is also a reference section of the implemented modules on this web site.

What will not be explained here is how to install the Gtk libraries and install Raku or the Raku modules.

Have fun!