GTK+ Reference Manual

Table of Contents
GTK+
General — Mainloop and event handling
Version Information — variables and functions to check the GTK+ version.
Graphics Contexts — provides access to a shared pool of GdkGC objects.
Styles
Resource Files — Routines for handling resource files
Keyboard Accelerators
Selections — Functions for handling inter-process communication via selections.
Clipboards — Storing data on Clipboards.
Drag and Drop — Functions for controlling drag and drop handling.
Signals — Object methods and callbacks.
Implementation of Object Properties — Utility function to manipulate lists of named, typed arguments.
Stock Items
Themeable Stock Images
Types — Handle run-time type creation.
Bindings
Standard Enumerations — Public enumerated types used throughout GTK+.
GTK+ Widgets and Objects
Object Hierarchy
Windows
GtkDialog — create popup windows.
GtkInvisible — internally-used widget which is not displayed.
GtkMessageDialog — convenient message window
GtkPlug — Toplevel for embedding into other processes.
GtkWindow
Display Widgets
GtkAccelLabel — a label which displays an accelerator key on the right of the text.
GtkImage — A widget displaying a graphical image
GtkLabel — A widget that displays a small to medium amount of text.
GtkProgressBar — a widget which indicates progress visually.
GtkStatusbar — report messages of minor importance to the user.
Buttons and Toggles
GtkButton — A widget that creates a signal when clicked on.
GtkCheckButton — create widgets with a discrete toggle button.
GtkRadioButton — A choice from multiple check buttons.
GtkToggleButton — create buttons which retain their state.
Numeric/Text Data Entry
GtkEntry — a single line text entry field.
GtkHScale — a horizontal slider widget for selecting a value from a range.
GtkSpinButton — retrieve an integer or floating-point number from the user.
GtkVScale — a vertical slider widget for selecting a value from a range.
Multiline Text Editor
Text Widget Overview — Overview of GtkTextBuffer, GtkTextView, and friends
GtkTextIter — Text buffer iterator
GtkTextMark — A position in the buffer preserved across buffer modifications
GtkText — text widget which allows display and manipulation of arbitrary text
GtkTextBuffer — Stores attributed text for display in a GtkTextView
GtkTextTag — A tag that can be applied to text in a GtkTextBuffer
GtkTextTagTable — Collection of tags that can be used together
GtkTextView — Widget that displays a GtkTextBuffer
Tree and List Widget
Tree and List Widget Overview — Overview of GtkTreeModel, GtkTreeView, and friends
gtktreemodel
GtkTreeSelection
GtkTreeStore
GtkTreeViewColumn
GtkTreeView
GtkModelSimple
GtkTreeModelSort
GtkCellRenderer
GtkCellRendererPixbuf
GtkCellRendererText
GtkCellRendererTextPixbuf
GtkCellRendererToggle
GtkListStore
Menus, Combo Box, Toolbar
GtkCheckMenuItem — a menu item with a check box.
GtkCombo — a text entry field with a dropdown list.
GtkItemFactory
GtkMenu — a drop down menu widget.
GtkMenuBar — A subclass widget for GtkMenuShell which holds GtkMenuItem widgets
GtkMenuItem — the widget used for item in menus
GtkMenuShell — a base class for menu objects.
GtkOptionMenu — a widget used to choose from a list of valid choices.
GtkRadioMenuItem — A choice from multiple check menu items.
GtkTearoffMenuItem — a menu item used to tear off and reattach its menu.
GtkToolbar — create bars of buttons and other widgets.
Selectors (File/Font/Color/Input Devices)
GtkColorSelection — a widget used to select a color.
GtkColorSelectionDialog — a standard dialog box for selecting a color.
GtkFileSelection — prompt the user for a file or directory name.
GtkFontSelection — a widget for selecting fonts.
GtkFontSelectionDialog — a dialog box for selecting fonts.
GtkInputDialog — Configure devices for the XInput extension.
Layout Containers
GtkAlignment — a widget which controls the alignment and size of its child.
GtkAspectFrame — A frame that constrains its child to a particular aspect ratio.
GtkHBox — horizontal container box
GtkHButtonBox — a container for arranging button horizontally.
GtkFixed — a container which supports fixed sizes and positions of its children.
GtkHPaned — A container with two panes arranged horizontally.
GtkLayout
GtkNotebook — Set of pages with bookmarks.
GtkTable — Pack widgets in regular patterns.
GtkVButtonBox — a container for arranging buttons vertically.
GtkVBox — vertical container box
GtkVPaned — A container with two panes arranged vertically.
Ornaments
GtkFrame — A bin with a decorative frame and optional label.
GtkHSeparator — a horizontal separator.
GtkVSeparator — a vertical separator.
Scrolling
GtkHScrollbar — A horizontal scrollbar
GtkScrolledWindow — Adds scrollbars to its child widget.
GtkVScrollbar — A vertical scrollbar
Miscellaneous
GtkAdjustment — a GtkObject representing an adjustable bounded value.
GtkArrow — produces an arrow pointing in one of the four cardinal directions.
GtkCalendar — display a calendar and/or allow the user to select a date.
GtkDrawingArea — a widget for custom user interface elements.
GtkEventBox — a widget used to catch events for widgets which do not have their own window.
GtkHandleBox — a widget for detachable window portions.
GtkIMContext
GtkIMMulticontext
GtkTooltips — Add tips to your widgets.
GtkViewport
Abstract Base Classes
GtkBin — a container with just one child.
GtkBox — a base class for box containers
GtkContainer
GtkEditable — Base class for text-editing widgets.
GtkOldEditable
GtkButtonBox — Base class for GtkHButtonBox and GtkVButtonBox
GtkMisc — a base class for widgets with alignments and padding.
GtkObject — The base class of the Gtk type hierarchy.
GtkPaned — Base class for widgets with two adjustable panes
GtkRange
GtkScale — a base class for GtkHScale and GtkVScale.
GtkScrollbar — base class for GtkHScrollbar and GtkVScrollbar.
GtkSeparator — a base class for GtkHSeparator and GtkVseparator.
GtkWidget
Cross-process Embedding
GtkSocket — Container for widgets from other processes.
Deprecated
GtkCList — A multi-columned scrolling list widget.
GtkCTree — a widget displaying a hierarchical tree.
GtkCurve — allows direct editing of a curve.
GtkData — abstract base class for objects containing data.
GtkGammaCurve — a subclass of GtkCurve for editing gamma curves.
GtkHRuler — A horizontal ruler.
GtkItem — abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem.
GtkList — Widget for packing a list of selectable items.
GtkListItem — an item in a GtkList.
GtkPacker
GtkPixmap — a widget displaying a graphical image or icon.
GtkPreview — a widget to display RGB or grayscale data.
GtkProgress — the base class for GtkProgressBar.
GtkRuler — Base class for horizontal or vertical rulers
GtkTipsQuery — displays help about widgets in the user interface.
GtkTree — A treelist widget.
GtkTreeItem
GtkVRuler — A vertical ruler.