Package org.gnome.gtk

GTK is the widget toolkit which is used by applications to create rich user interfaces on the screen.

Interface Summary

Button.CLICKED Event generated when a user presses and releases a button, causing it to activate.
FileChooser
FileChooser.SELECTION_CHANGED Event generated when the selection in this FileChooser is changed.
Widget.ENTER_NOTIFY_EVENT Signal emitted when the mouse enters the Widget
Widget.FOCUS_OUT_EVENT Signal emitted when the focus leaves this Widget.
Window.DELETE This signal arises when a user tries to close a top level window.

Class Summary

Bin A Container with only one child Widget.
Box Base class for Containers which organize a variable number of Widgets into a rectangular area.
Button A Widget that creates a signal when clicked on.
Container A Widget that contains at least one, and maybe more, other Widgets.
FileChooserAction Set which kind of FileChooser Dialog will appear.
FileChooserButton Displays a filename and a Button which, if pressed, opens a FileChooserDialog allowing the user to select the file.
Fixed Fixed is a Container Widget that allows you to position other widgets on it at fixed coordinates.
Gtk The GTK widget toolkit initialization and main loop entry point.
HBox A Container which holds a variable number of Widgets in a single horizontal row.
Label A Widget that displays a small amount of text.
Misc Base class for Widgets that have notions of alignment and padding.
Object Base class for Widgets and various other elements in GTK.
ReliefStyle The relief to be drawn around a Button.
TreeIter FIXME placeholder first concrete Boxed subclass.
VBox A Container which holds a variable number of Widgets in a single vertical row.
Widget The base class of all GTK Widgets.
Window The top level Widget that contains other Widgets.
WindowType The type of Window.
GTK is the widget toolkit which is used by applications to create rich user interfaces on the screen. See Gtk to get started. <!-- TODO that's still a rather lame starting reference. -->

History

GTK was first created by the authors of The GIMP, a powerful graphics manipulation program. They had innovative ideas about the user interface they wanted to provide, but needed to create an entirely new widget toolkit to do so!

The result was GTK (the GIMP widget Tool Kit). Many liked its power, look and feel, and simplicity, and very quickly it became the foundation of the GNOME project and today is used not only for all the applications that make up the GNOME Desktop, but for a huge range of popular programs available for Linux and Unix.

Originally GTK was a self contained library, but as it became the foundation for GNOME it was abstracted into several layers which are reflected in the many packages that are available in java-gnome; if you haven't already, see the overview for details.