]> GTK+ Reference Manual for GTK+ &version; GTK+ Overview GTK+ is a library for creating graphical user interfaces. It works on many UNIX-like platforms, Windows, and on framebuffer devices. GTK+ is released under the GNU Library General Public License (GNU LGPL), which allows for flexible licensing of client applications. GTK+ has a C-based object-oriented architecture that allows for maximum flexibility. Bindings for other languages have been written, including C++, Objective-C, Guile/Scheme, Perl, Python, TOM, Ada95, Free Pascal, and Eiffel. GTK+ depends on the following libraries: GLib A general-purpose utility library, not specific to graphical user interfaces. GLib provides many useful data types, macros, type conversions, string utilities, file utilities, a main loop abstraction, and so on. Pango Pango is a library for internationalized text handling. It centers around the PangoLayout object, representing a paragraph of text. Pango provides the engine for GtkTextView, GtkLabel, GtkEntry, and other widgets that display text. ATK ATK is the Accessibility Toolkit. It provides a set of generic interfaces allowing accessibility technologies to interact with a graphical user interface. For example, a screen reader uses ATK to discover the text in an interface and read it to blind users. GTK+ widgets have built-in support for accessibility using the ATK framework. GdkPixbuf This is a small library which allows you to create GdkPixbuf ("pixel buffer") objects from image data or image files. Use a GdkPixbuf in combination with GtkImage to display images. GDK GDK is the abstraction layer that allows GTK+ to support multiple windowing systems. GDK provides drawing and window system facilities on X11, Windows, and the Linux framebuffer device. GTK+ The GTK+ library itself contains widgets, that is, GUI components such as GtkButton or GtkTextView. >k-Building; >k-Compiling; >k-Running; >k-Windows; >k-Framebuffer; >k-X11; >k-Resources; >k-Questions; GTK+ Core Reference >k-General; &GtkAccelGroup; >k-accel-map; >k-Clipboards; >k-Drag-and-Drop; >k-Named-Icons; >k-Stock-Items; >k-Themeable-Stock-Images; >k-Resource-Files; >k-Settings; >k-Bindings; >k-Standard-Enumerations; >k-Graphics-Contexts; >k-Styles; >k-Selections; >k-Feature-Test-Macros; >k-Signals; >k-Types; GTK+ Widgets and Objects Object Hierarchy &index-Object-Tree; Windows &GtkDialog; &GtkInvisible; &GtkMessageDialog; &GtkWindow; &GtkWindowGroup; Display Widgets &GtkAccelLabel; &GtkImage; &GtkLabel; &GtkProgressBar; &GtkStatusbar; Buttons and Toggles &GtkButton; &GtkCheckButton; &GtkRadioButton; &GtkToggleButton; Numeric/Text Data Entry &GtkEntry; &GtkEntryCompletion; &GtkHScale; &GtkVScale; &GtkSpinButton; &GtkEditable; Multiline Text Editor >k-TextWidget; &GtkTextIter; &GtkTextMark; &GtkTextBuffer; &GtkTextTag; &GtkTextTagTable; &GtkTextView; Tree and List Widget >k-TreeWidget; &GtkTreeModel; &GtkTreeSelection; &GtkTreeViewColumn; &GtkTreeView; &GtkTreeDND; &GtkTreeSortable; &GtkTreeModelSort; &GtkTreeModelFilter; &GtkCellLayout; &GtkCellRenderer; &GtkCellEditable; &GtkCellRendererPixbuf; &GtkCellRendererText; &GtkCellRendererToggle; &GtkListStore; &GtkTreeStore; Menus, Combo Box, Toolbar &GtkComboBox; &GtkComboBoxEntry; &GtkMenu; &GtkMenuBar; &GtkMenuItem; &GtkMenuShell; &GtkImageMenuItem; &GtkRadioMenuItem; &GtkCheckMenuItem; &GtkSeparatorMenuItem; &GtkTearoffMenuItem; &GtkToolbar; &GtkToolItem; &GtkSeparatorToolItem; &GtkToolButton; &GtkToggleToolButton; &GtkRadioToolButton; Action-based menus and toolbars &GtkUIManager; &GtkActionGroup; &GtkAction; &GtkToggleAction; &GtkRadioAction; Selectors (File/Font/Color/Input Devices) &GtkColorButton; &GtkColorSelection; &GtkColorSelectionDialog; &GtkFileSelection; &GtkFileChooser; &GtkFileChooserDialog; &GtkFileChooserWidget; &GtkFileFilter; &GtkFontButton; &GtkFontSelection; &GtkFontSelectionDialog; &GtkInputDialog; Layout Containers &GtkAlignment; &GtkAspectFrame; &GtkHBox; &GtkVBox; &GtkHButtonBox; &GtkVButtonBox; &GtkFixed; &GtkHPaned; &GtkVPaned; &GtkLayout; &GtkNotebook; &GtkTable; &GtkExpander; Ornaments &GtkFrame; &GtkHSeparator; &GtkVSeparator; Scrolling &GtkHScrollbar; &GtkVScrollbar; &GtkScrolledWindow; Miscellaneous &GtkAdjustment; &GtkArrow; &GtkCalendar; &GtkDrawingArea; &GtkEventBox; &GtkHandleBox; &GtkIMContextSimple; &GtkIMMulticontext; &GtkSizeGroup; &GtkTooltips; &GtkViewport; &GtkAccessible; Abstract Base Classes &GtkBin; &GtkBox; &GtkButtonBox; &GtkContainer; &GtkItem; &GtkMisc; &GtkObject; &GtkPaned; &GtkRange; &GtkScale; &GtkScrollbar; &GtkSeparator; &GtkWidget; &GtkIMContext; Cross-process Embedding &GtkPlug; &GtkSocket; Special-purpose features &GtkCurve; &GtkGammaCurve; &GtkRuler; &GtkHRuler; &GtkVRuler; Deprecated &GtkCList; &GtkCTree; &GtkCombo; &GtkItemFactory; &GtkList; &GtkListItem; &GtkOldEditable; &GtkOptionMenu; &GtkPixmap; &GtkPreview; &GtkProgress; &GtkText; &GtkTipsQuery; &GtkTree; &GtkTreeItem; Migrating from Previous Versions of GTK+ This part describes what you need to change in programs use older versions of GTK+ so that they can use the new features. >k-migrating-checklist; >k-Changes-1-2; >k-Changes-2-0; >k-migrating-GtkFileChooser; >k-migrating-GtkAction; >k-migrating-GtkComboBox; GTK+ Tools >k-query-immodules; Index Index of deprecated symbols Index of new symbols in 2.2 Index of new symbols in 2.4