Stklos is provided with support for GTK+. Unfortunately, the GTK+ version supported is the 1.x one which is old and no more maintained. However, it already exists some support for the version 2.x of GTK+. This support is available thanks to several ScmPkg packages which are described below.
Once the support for GTK2 will be on par with what we already have for GTK1 in the current version, the GTK1 support will be deleted from the standard distribution, and GUI programming will be accessible only through ScmPkg packages.
Programming a GUI in STklos can be done at several levels.
- The first level uses a simple wrapping of the GTK+ library. Programming at this level is very similar to programming a GUI in C. In particular, standard GTK+ documentation can easily be followed to build a GUI. See GTkBase for more information.
- The second level uses the Glade interface builder. Glade home page describes it as "a RAD tool to enable quick & easy development of user interfaces for the GTK+ toolkit and the GNOME desktop environment, released under the GNU GPL License. The user interfaces designed in Glade are saved as XML, and by using the libglade library these can be loaded by applications dynamically as needed." See GTkGlade for more information.
- The third level uses an OO model for GUI programming GUIs. This model is very similar to the one originally defined in STk. This model is described in the JFP and ISOTAS papers. Note that this is the model actually used for STklos GTK1 support. See GTklos for more information.
