Overview

The GTK addon supports the GNU GTK+ 2.0 library for creating graphical user interfaces, see GTK+ Reference Manual. Amongst other things, this will allow J console to provide a GUI without requiring a Sun Java installation.

The addon has only been tested under Linux32 and Linux64. GTK+ 2.0 is also available under Windows and Mac, and the code should work on those platforms with little or no change.

Plot

The initial release of the addon has definitions and cover verbs needed for Plot, and there is a new gtk output type. The cover verbs include replacements for the glxxx verbs in gl2.ijs. Since the GTK libraries are likely available in any Linux installation, the default output for Plot in Linux console has been set to gtk.

Demos

The gui/gtk/source/demo directory has several demos. Those named tutX.ijs are based on examples from the GTK+ 2.0 Tutorial.

API Definitions

The addon has API definitions in scripts cd.ijs and noun.ijs. These are a very small fraction of the total GTK+ 2.0 API. An almost complete api set is in corresponding scripts allapi.ijs and alldef.ijs.

The reason for including only the small subset of API definitions is that it should be much easier to learn how the API works by studying definitions needed for J. As more use is made of the addon, additional definitions can be copied from the allxxx scripts.

Problems



Contributed by ChrisBurke and BillLam

Interfaces/GTK (last edited 2011-12-22 06:15:11 by BillLam)