GTK+ Reference Manual
Table of Contents
GTK+
Compiling GTK+ Applications
— How to compile your GTK+ application
Using GTK+ on Windows
— Windows-specific aspects of using GTK+
Framebuffer
— Using embedded GTK+ on the Linux framebuffer
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
— Manipulating stock icons
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
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
—
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 allows you to position widgets at fixed coordinates
GtkHPaned
— A container with two panes arranged horizontally.
GtkLayout
—
GtkNotebook
— A tabbed notebook container.
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
—
GtkSizeGroup
— Grouping widgets so they request the same size
GtkTooltips
— Add tips to your widgets.
GtkViewport
—
Abstract Base Classes
GtkBin
— a container with just one child.
GtkBox
— a base class for box containers
GtkButtonBox
— Base class for
GtkHButtonBox
and
GtkVButtonBox
GtkContainer
—
GtkEditable
— Base class for text-editing widgets.
GtkOldEditable
—
GtkItem
— abstract base class for
GtkMenuItem
,
GtkListItem
and
GtkTreeItem
.
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.
Special-purpose features
GtkCurve
— allows direct editing of a curve.
GtkGammaCurve
— a subclass of
GtkCurve
for editing gamma curves.
GtkHRuler
— A horizontal ruler.
GtkRuler
— Base class for horizontal or vertical rulers
GtkVRuler
— A vertical ruler.
Deprecated
GtkCList
— A multi-columned scrolling list widget.
GtkCTree
— a widget displaying a hierarchical tree.
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.
GtkProgress
— the base class for
GtkProgressBar
.
GtkPreview
— a widget to display RGB or grayscale data.
GtkText
— deprecated text widget, use
GtkTextView
instead
GtkTipsQuery
— displays help about widgets in the user interface.
GtkTree
— Deprecated tree widget (use
GtkTreeView
instead).
GtkTreeItem
—
Next Page >>>
GTK+