GTK+ Reference Manual
for GTK+ 2.8.20
Table of Contents
I. GTK+ Overview
Compiling the GTK+ libraries
- How to compile GTK+ itself
Compiling GTK+ Applications
- How to compile your GTK+ application
Running GTK+ Applications
- How to run and debug your GTK+ application
Using GTK+ on Windows
- Windows-specific aspects of using GTK+
Using GTK+ on the Framebuffer
- Linux framebuffer aspects of using GTK+
Using GTK+ on the X Window System
- X11 aspects of using GTK+
Mailing lists and bug reports
- Getting help with GTK+
Common Questions
- Find answers to common questions in the GTK+ manual
II. GTK+ Core Reference
Main loop and Events
- Library initialization, main event loop, and events
Accelerator Groups
- Groups of global keyboard accelerators for an entire GtkWindow
Accelerator Maps
- Loadable keyboard accelerator specifications
Clipboards
- Storing data on clipboards
Drag and Drop
- Functions for controlling drag and drop handling
GtkIconTheme
- Looking up icons by name
Stock Items
- Prebuilt common menu/toolbar items and corresponding icons
Themeable Stock Images
- Manipulating stock icons
Resource Files
- Routines for handling resource files
Settings
- Sharing settings between applications
Bindings
- Key bindings for individual widgets
Standard Enumerations
- Public enumerated types used throughout GTK+
Graphics Contexts
- A shared pool of GdkGC objects
Styles
- Functions for drawing widget parts
Selections
- Functions for handling inter-process communication via selections
Version Information
- Variables and functions to check the GTK+ version
Signals
- Object methods and callbacks
Types
- Handle run-time type creation
III. GTK+ Widgets and Objects
Object Hierarchy
Widget Gallery
Windows
Display Widgets
Buttons and Toggles
Numeric/Text Data Entry
Multiline Text Editor
Tree, List and Icon Grid Widgets
Menus, Combo Box, Toolbar
Action-based menus and toolbars
Selectors (File/Font/Color/Input Devices)
Layout Containers
Ornaments
Scrolling
Miscellaneous
Abstract Base Classes
Cross-process Embedding
Special-purpose features
Deprecated
IV. Migrating from Previous Versions of GTK+
Migration Checklist
Implement GtkWidget::popup_menu
Use GdkEventExpose.region
Test for modifier keys correctly
Use named icons
Changes from 1.0 to 1.2
- Incompatible changes made between version 1.0 and version 1.2
Changes from 1.2 to 2.0
- Incompatible changes made between version 1.2 and version 2.0
Migrating from GtkFileSelection to GtkFileChooser
Creating a GtkFileChooserDialog
Selection Modes
Installing a Preview widget
Installing Extra Widgets
New features
Migrating from old menu and toolbar systems to GtkAction
Actions and Action Groups
User Interface Manager Object
Migrating from GnomeUIInfo
Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry
Migrating from GtkOptionMenu to GtkComboBox
Migrating from GtkCombo to GtkComboBoxEntry
New features
Migrating from GnomeIconList to GtkIconView
Migrating from GnomeAbout to GtkAboutDialog
Migrating from GnomeColorPicker to GtkColorButton
V. GTK+ Tools
gtk-query-immodules-2.0
- Input method module registration utility
gtk-update-icon-cache
- Icon theme caching utility
Glossary
Index