Namespace
Gtk – 3.0
The GTK toolkit
Dependencies
GObject—2.0 | The base type system library |
Browse documentation | |
Atk—1.0 | The Accessibility toolkit |
Browse documentation | |
Pango—1.0 | Text shaping and rendering |
Browse documentation | |
Gdk—3.0 | The GTK windowing system backend |
Browse documentation |
Additional documentation
- Compiling the GTK libraries
- Compiling GTK Applications
- Running GTK Applications
- Getting Started with GTK
- The GTK Drawing Model
- The GTK Input and Event Handling Model
- Key Bindings
- Text Widget Overview
- Tree and List Widget Overview
- Tree View Tutorial
- CSS Overview
- CSS Properties
- Widget Gallery
- Using GTK on the X11 Window System
- Using GTK on Windows
- Using GTK with Wayland
- Using GTK on macOS
- Using GTK with Broadway
- Migrating from GTK 2.x to GTK 3
- Migrating Themes from GTK 2.x to GTK 3
- Migrating from libunique to GtkApplication
- Migrating from EggSMClient to GtkApplication
- Changes in GTK 3
- Classes Hierarchy
Classes
AboutDialog |
The GtkAboutDialog offers a simple way to display information about
a program like its logo, name, copyright, website and license. It is
also possible to give credits to the authors, documenters, translators
and artists who have worked on the program. An about dialog is typically
opened when the user selects the |
AccelGroup |
A |
AccelLabel |
The |
AccelMap |
Accelerator maps are used to define runtime configurable accelerators.
Functions for manipulating them are are usually used by higher level
convenience mechanisms like |
Accessible |
The |
Action |
|
ActionBar |
GtkActionBar is designed to present contextual actions. It is expected to be displayed below the content and expand horizontally to fill the area. |
ActionGroup |
Actions are organised into groups. An action group is essentially a
map from names to |
Adjustment |
The |
Alignment |
The |
AppChooserButton |
The |
AppChooserDialog |
|
AppChooserWidget |
|
Application |
|
ApplicationWindow |
|
Arrow |
GtkArrow should be used to draw simple arrows that need to point in one of the four cardinal directions (up, down, left, or right). The style of the arrow can be one of shadow in, shadow out, etched in, or etched out. Note that these directions and style types may be amended in versions of GTK+ to come. |
ArrowAccessible | |
AspectFrame |
The |
Assistant |
A |
Bin |
The |
BooleanCellAccessible | |
Box |
The GtkBox widget arranges child widgets into a single row or column,
depending upon the value of its |
Builder |
A GtkBuilder is an auxiliary object that reads textual descriptions
of a user interface and instantiates the described objects. To create
a GtkBuilder from a user interface description, call
gtk_builder_new_from_file(), |
Button |
The |
ButtonAccessible | |
ButtonBox | |
Calendar |
|
CellAccessible | |
CellArea |
The |
CellAreaBox |
The |
CellAreaContext |
The |
CellRenderer |
The |
CellRendererAccel |
|
CellRendererCombo |
|
CellRendererPixbuf |
A |
CellRendererProgress |
|
CellRendererSpin |
|
CellRendererSpinner |
GtkCellRendererSpinner renders a spinning animation in a cell, very
similar to |
CellRendererText |
A |
CellRendererToggle |
|
CellView |
A |
CheckButton |
A |
CheckMenuItem |
A |
CheckMenuItemAccessible | |
Clipboard |
The |
ColorButton |
The |
ColorChooserDialog |
The since: 3.4 |
ColorChooserWidget |
The since: 3.4 |
ColorSelection | |
ColorSelectionDialog | |
ComboBox |
A GtkComboBox is a widget that allows the user to choose from a list of valid choices. The GtkComboBox displays the selected choice. When activated, the GtkComboBox displays a popup which allows the user to make a new choice. The style in which the selected value is displayed, and the style of the popup is determined by the current theme. It may be similar to a Windows-style combo box. |
ComboBoxAccessible | |
ComboBoxText |
A GtkComboBoxText is a simple variant of |
Container |
A GTK+ user interface is constructed by nesting widgets inside widgets.
Container widgets are the inner nodes in the resulting tree of widgets:
they contain other widgets. So, for example, you might have a |
ContainerAccessible | |
ContainerCellAccessible | |
CssProvider |
GtkCssProvider is an object implementing the |
Dialog |
Dialog boxes are a convenient way to prompt the user for a small amount of input, e.g. to display a message, ask a question, or anything else that does not require extensive effort on the user’s part. |
DrawingArea |
The |
Entry |
The |
EntryAccessible | |
EntryBuffer |
The since: 2.18 |
EntryCompletion |
|
EntryIconAccessible | |
EventBox |
The |
EventController |
|
EventControllerKey |
|
EventControllerMotion |
|
EventControllerScroll |
|
Expander |
A |
ExpanderAccessible | |
FileChooserButton |
The |
FileChooserDialog |
|
FileChooserNative |
|
FileChooserWidget |
|
FileChooserWidgetAccessible | |
FileFilter |
A GtkFileFilter can be used to restrict the files being shown in a
|
Fixed |
The |
FlowBox |
A GtkFlowBox positions child widgets in sequence according to its orientation. |
FlowBoxAccessible | |
FlowBoxChild | |
FlowBoxChildAccessible | |
FontButton |
The |
FontChooserDialog |
The since: 3.2 |
FontChooserWidget |
The since: 3.2 |
FontSelection | |
FontSelectionDialog | |
Frame |
The frame widget is a bin that surrounds its child with a decorative frame and an optional label. If present, the label is drawn in a gap in the top side of the frame. The position of the label can be controlled with gtk_frame_set_label_align(). |
FrameAccessible | |
Gesture |
|
GestureDrag |
|
GestureLongPress |
|
GestureMultiPress |
|
GesturePan |
|
GestureRotate |
|
GestureSingle |
|
GestureStylus |
|
GestureSwipe |
|
GestureZoom |
|
GLArea |
since: 3.16 |
Grid |
GtkGrid is a container which arranges its child widgets in rows and columns, with arbitrary positions and horizontal/vertical spans. |
HandleBox |
The |
HBox |
|
HButtonBox | |
HeaderBar |
GtkHeaderBar is similar to a horizontal |
HeaderBarAccessible | |
HPaned |
The HPaned widget is a container widget with two
children arranged horizontally. The division between
the two panes is adjustable by the user by dragging
a handle. See |
HScale |
The |
HScrollbar |
The |
HSeparator |
The |
HSV |
|
IconFactory |
An icon factory manages a collection of |
IconInfo |
Contains information found when looking up an icon in an icon theme. |
IconTheme |
|
IconView |
|
IconViewAccessible | |
Image |
The GtkWidget *image;
image = gtk_image_new_from_file ("myfile.png");
If the file isn’t loaded successfully, the image will contain a
“broken image” icon similar to that used in many web browsers.
If you want to handle errors in loading the file yourself,
for example by displaying an error message, then load the image with
gdk_pixbuf_new_from_file(), then create the |
ImageAccessible | |
ImageCellAccessible | |
ImageMenuItem |
A GtkImageMenuItem is a menu item which has an icon next to the text label. |
IMContext |
|
IMContextSimple |
GtkIMContextSimple is a simple input method context supporting table-based input methods. It has a built-in table of compose sequences that is derived from the X11 Compose files. |
IMMulticontext | |
InfoBar |
|
Invisible |
The |
Label |
The |
LabelAccessible | |
Layout |
|
LevelBar |
The |
LevelBarAccessible | |
LinkButton |
A GtkLinkButton is a |
LinkButtonAccessible | |
ListBox |
A GtkListBox is a vertical container that contains GtkListBoxRow children. These rows can be dynamically sorted and filtered, and headers can be added dynamically depending on the row content. It also allows keyboard and mouse navigation and selection like a typical list. |
ListBoxAccessible | |
ListBoxRow | |
ListBoxRowAccessible | |
ListStore |
The |
LockButton |
GtkLockButton is a widget that can be used in control panels or
preference dialogs to allow users to obtain and revoke authorizations
needed to operate the controls. The required authorization is represented
by a |
LockButtonAccessible | |
Menu |
A |
MenuAccessible | |
MenuBar |
The |
MenuButton |
The |
MenuButtonAccessible | |
MenuItem |
The |
MenuItemAccessible | |
MenuShell |
A |
MenuShellAccessible | |
MenuToolButton |
A |
MessageDialog |
|
Misc |
The |
ModelButton |
GtkModelButton is a button class that can use a |
MountOperation |
This should not be accessed directly. Use the accessor functions below. |
NativeDialog |
Native dialogs are platform dialogs that don’t use |
Notebook |
The |
NotebookAccessible | |
NotebookPageAccessible | |
NumerableIcon |
GtkNumerableIcon is a subclass of |
OffscreenWindow |
GtkOffscreenWindow is strictly intended to be used for obtaining
snapshots of widgets that are not part of a normal widget hierarchy.
Since |
Overlay |
GtkOverlay is a container which contains a single main child, on top
of which it can place “overlay” widgets. The position of each overlay
widget is determined by its |
PadController |
|
PageSetup |
A GtkPageSetup object stores the page size, orientation and margins.
The idea is that you can get one of these from the page setup dialog
and then pass it to the |
Paned |
|
PanedAccessible | |
PlacesSidebar |
|
Plug |
Together with |
PlugAccessible | |
Popover |
GtkPopover is a bubble-like context window, primarily meant to provide context-dependent information or options. Popovers are attached to a widget, passed at construction time on gtk_popover_new(), or updated afterwards through gtk_popover_set_relative_to(), by default they will point to the whole widget area, although this behavior can be changed through gtk_popover_set_pointing_to(). since: 3.12 |
PopoverAccessible | |
PopoverMenu |
GtkPopoverMenu is a subclass of |
PrintContext |
A GtkPrintContext encapsulates context information that is required when
drawing pages for printing, such as the cairo context and important
parameters like page size and resolution. It also lets you easily
create |
PrintOperation |
GtkPrintOperation is the high-level, portable printing API.
It looks a bit different than other GTK+ dialogs such as the
|
PrintSettings |
A GtkPrintSettings object represents the settings of a print dialog in a system-independent way. The main use for this object is that once you’ve printed you can get a settings object that represents the settings the user chose, and the next time you print you can pass that object in so that the user doesn’t have to re-set all his settings. |
ProgressBar |
The |
ProgressBarAccessible | |
RadioAction |
A |
RadioButton |
A single radio button performs the same basic function as a |
RadioButtonAccessible | |
RadioMenuItem |
A radio menu item is a check menu item that belongs to a group. At each instant exactly one of the radio menu items from a group is selected. |
RadioMenuItemAccessible | |
RadioToolButton |
A |
Range |
|
RangeAccessible | |
RcStyle |
The |
RecentAction |
A |
RecentChooserDialog |
|
RecentChooserMenu |
|
RecentChooserWidget |
|
RecentFilter |
A |
RecentManager |
since: 2.10 |
RendererCellAccessible | |
Revealer |
The GtkRevealer widget is a container which animates the transition of its child from invisible to visible. |
Scale |
A GtkScale is a slider control used to select a numeric value.
To use it, you’ll probably want to investigate the methods on
its base class, |
ScaleAccessible | |
ScaleButton |
|
ScaleButtonAccessible | |
Scrollbar |
The |
ScrolledWindow |
GtkScrolledWindow is a container that accepts a single child widget, makes that child scrollable using either internally added scrollbars or externally associated adjustments, and optionally draws a frame around the child. |
ScrolledWindowAccessible | |
SearchBar |
since: 3.10 |
SearchEntry |
since: 3.6 |
Separator |
GtkSeparator is a horizontal or vertical separator widget, depending on the
value of the |
SeparatorMenuItem |
The |
SeparatorToolItem |
A |
Settings |
GtkSettings provide a mechanism to share global settings between applications. |
ShortcutLabel |
|
ShortcutsGroup |
A GtkShortcutsGroup represents a group of related keyboard shortcuts or gestures. The group has a title. It may optionally be associated with a view of the application, which can be used to show only relevant shortcuts depending on the application context. |
ShortcutsSection |
A GtkShortcutsSection collects all the keyboard shortcuts and gestures
for a major application mode. If your application needs multiple sections,
you should give each section a unique |
ShortcutsShortcut |
A GtkShortcutsShortcut represents a single keyboard shortcut or gesture
with a short text. This widget is only meant to be used with |
ShortcutsWindow |
A GtkShortcutsWindow shows brief information about the keyboard shortcuts and gestures of an application. The shortcuts can be grouped, and you can have multiple sections in this window, corresponding to the major modes of your application. |
SizeGroup |
|
Socket |
Together with |
SocketAccessible | |
SpinButton |
A |
SpinButtonAccessible | |
Spinner |
A GtkSpinner widget displays an icon-size spinning animation.
It is often used as an alternative to a |
SpinnerAccessible | |
Stack |
The GtkStack widget is a container which only shows
one of its children at a time. In contrast to GtkNotebook,
GtkStack does not provide a means for users to change the
visible child. Instead, the |
StackAccessible | |
StackSidebar |
A GtkStackSidebar enables you to quickly and easily provide a consistent “sidebar” object for your user interface. since: 3.16 |
StackSwitcher |
The GtkStackSwitcher widget acts as a controller for a
|
Statusbar |
A |
StatusbarAccessible | |
StatusIcon |
The “system tray” or notification area is normally used for transient icons that indicate some special state. For example, a system tray icon might appear to tell the user that they have new mail, or have an incoming instant message, or something along those lines. The basic idea is that creating an icon in the notification area is less annoying than popping up a dialog. |
Style |
A |
StyleContext |
|
StyleProperties |
GtkStyleProperties provides the storage for style information
that is used by |
Switch |
|
SwitchAccessible | |
Table |
The |
TearoffMenuItem |
A |
TextBuffer |
You may wish to begin by reading the [text widget conceptual overview][TextWidget] which gives an overview of all the objects and data types related to the text widget and how they work together. |
TextCellAccessible | |
TextChildAnchor |
A |
TextMark |
You may wish to begin by reading the [text widget conceptual overview][TextWidget] which gives an overview of all the objects and data types related to the text widget and how they work together. |
TextTag |
You may wish to begin by reading the [text widget conceptual overview][TextWidget] which gives an overview of all the objects and data types related to the text widget and how they work together. |
TextTagTable |
You may wish to begin by reading the [text widget conceptual overview][TextWidget] which gives an overview of all the objects and data types related to the text widget and how they work together. |
TextView |
You may wish to begin by reading the [text widget conceptual overview][TextWidget] which gives an overview of all the objects and data types related to the text widget and how they work together. |
TextViewAccessible | |
ThemingEngine |
|
ToggleAction |
A |
ToggleButton |
A |
ToggleButtonAccessible | |
ToggleToolButton |
A |
Toolbar |
A toolbar is created with a call to gtk_toolbar_new(). |
ToolButton |
|
ToolItem |
|
ToolItemGroup |
A since: 2.20 |
ToolPalette |
A since: 2.20 |
Tooltip |
Basic tooltips can be realized simply by using |
ToplevelAccessible | |
TreeModelFilter |
A |
TreeModelSort |
The |
TreeSelection |
The |
TreeStore |
The |
TreeView |
Widget that displays any object that implements the |
TreeViewAccessible | |
TreeViewColumn |
The GtkTreeViewColumn object represents a visible column in a |
UIManager |
A |
VBox |
A |
VButtonBox | |
Viewport |
The |
VolumeButton |
|
VPaned |
The VPaned widget is a container widget with two
children arranged vertically. The division between
the two panes is adjustable by the user by dragging
a handle. See |
VScale |
The |
VScrollbar |
The |
VSeparator |
The |
Widget |
GtkWidget is the base class all widgets in GTK+ derive from. It manages the widget lifecycle, states and style. |
WidgetAccessible | |
Window |
A GtkWindow is a toplevel window which can contain other widgets. Windows normally have decorations that are under the control of the windowing system and allow the user to manipulate the window (resize it, move it, close it,…). |
WindowAccessible | |
WindowGroup |
A |
Interfaces
Actionable |
This interface provides a convenient way of associating widgets with
actions on a since: 3.4 |
Activatable |
Activatable widgets can be connected to a |
AppChooser |
|
Buildable |
GtkBuildable allows objects to extend and customize their deserialization from [GtkBuilder UI descriptions][BUILDER-UI]. The interface includes methods for setting names and properties of objects, parsing custom tags and constructing child objects. |
CellAccessibleParent | |
CellEditable |
The |
CellLayout |
|
ColorChooser |
since: 3.4 |
Editable |
The |
FileChooser |
|
FontChooser |
|
Orientable |
The |
PrintOperationPreview | |
RecentChooser |
|
Scrollable |
|
StyleProvider |
GtkStyleProvider is an interface used to provide style information to a |
ToolShell |
The |
TreeDragDest | |
TreeDragSource | |
TreeModel |
The |
TreeSortable |
|
Structs
_MountOperationHandler |
Abstract interface type for the D-Bus interface org.Gtk.MountOperationHandler. |
_MountOperationHandlerIface |
Virtual table for the D-Bus interface org.Gtk.MountOperationHandler. |
_MountOperationHandlerProxy |
The #_GtkMountOperationHandlerProxy structure contains only private data and should only be accessed using the provided API. |
_MountOperationHandlerProxyClass |
Class structure for #_GtkMountOperationHandlerProxy. |
_MountOperationHandlerSkeleton |
The #_GtkMountOperationHandlerSkeleton structure contains only private data and should only be accessed using the provided API. |
_MountOperationHandlerSkeletonClass |
Class structure for #_GtkMountOperationHandlerSkeleton. |
AccelGroupEntry | |
AccelKey | |
ActionEntry |
deprecated: 3.10 |
BindingArg |
A |
BindingEntry |
Each key binding element of a binding sets binding list is represented by a GtkBindingEntry. |
BindingSet |
A binding set maintains a list of activatable key bindings.
A single binding set can match multiple types of widgets.
Similar to style contexts, can be matched by any information contained
in a widgets |
BindingSignal |
A GtkBindingSignal stores the necessary information to activate a widget in response to a key press via a signal emission. |
Border |
A struct that specifies a border around a rectangular area that can be of different width on each side. |
CssSection |
Defines a part of a CSS document. Because sections are nested into
one another, you can use since: 3.2 |
FileFilterInfo |
A |
FixedChild | |
Gradient |
GtkGradient is a boxed type that represents a gradient. It is the result of parsing a [gradient expression][gtkcssprovider-gradients]. To obtain the gradient represented by a GtkGradient, it has to be resolved with gtk_gradient_resolve(), which replaces all symbolic color references by the colors they refer to (in a given context) and constructs a #cairo_pattern_t value. |
IconSet | |
IconSource | |
IMContextInfo |
Bookkeeping information about a loadable input method. |
LabelSelectionInfo | |
PadActionEntry |
Struct defining a pad action entry. |
PageRange |
See also gtk_print_settings_set_page_ranges(). |
PaperSize |
GtkPaperSize handles paper sizes. It uses the standard called PWG 5101.1-2002 PWG: Standard for Media Standardized Names to name the paper sizes (and to get the data for the page sizes). In addition to standard paper sizes, GtkPaperSize allows to construct custom paper sizes with arbitrary dimensions. |
RadioActionEntry |
deprecated: 3.10 |
RcContext | |
RcProperty |
Deprecated. |
RecentData |
Meta-data to be passed to |
RecentFilterInfo |
A GtkRecentFilterInfo struct is used to pass information about the tested file to gtk_recent_filter_filter(). |
RecentInfo |
since: 2.10 |
RequestedSize |
Represents a request of a screen object in a given orientation. These are primarily used in container implementations when allocating a natural size for children calling. See gtk_distribute_natural_allocation(). |
Requisition |
A |
SelectionData | |
SettingsValue | |
StockItem |
deprecated: 3.10 |
SymbolicColor |
GtkSymbolicColor is a boxed type that represents a symbolic color.
It is the result of parsing a
[color expression][gtkcssprovider-symbolic-colors].
To obtain the color represented by a GtkSymbolicColor, it has to
be resolved with gtk_symbolic_color_resolve(), which replaces all
symbolic color references by the colors they refer to (in a given
context) and evaluates mix, shade and other expressions, resulting
in a |
TableChild | |
TableRowCol | |
TargetEntry |
A |
TargetList |
A |
TargetPair |
A |
TextAppearance | |
TextAttributes |
Using |
TextBTree | |
TextIter |
You may wish to begin by reading the [text widget conceptual overview][TextWidget] which gives an overview of all the objects and data types related to the text widget and how they work together. |
ThemeEngine | |
ToggleActionEntry |
deprecated: 3.10 |
TreeIter |
The |
TreePath | |
TreeRowReference |
A GtkTreeRowReference tracks model changes so that it always refers to the
same row (a |
WidgetPath |
GtkWidgetPath is a boxed type that represents a widget hierarchy from
the topmost widget, typically a toplevel, to any child. This widget
path abstraction is used in |
WindowGeometryInfo |
Aliases
Allocation |
A |
Stock |
Enumerations
Align |
Controls how a widget deals with extra space in a single (x or y) dimension. |
ArrowPlacement |
Used to specify the placement of scroll arrows in scrolling menus. |
ArrowType |
Used to indicate the direction in which an arrow should point. |
AssistantPageType |
An enum for determining the page role inside the |
BaselinePosition |
Whenever a container has some form of natural row it may align
children in that row along a common typographical baseline. If
the amount of verical space in the row is taller than the total
requested height of the baseline-aligned children then it can use a
since: 3.10 |
BorderStyle |
Describes how the border of a UI element should be rendered. |
ButtonBoxStyle |
Used to dictate the style that a |
ButtonRole |
The role specifies the desired appearance of a |
ButtonsType |
Prebuilt sets of buttons for the dialog. If
none of these choices are appropriate, simply use |
CellRendererAccelMode |
Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus. |
CellRendererMode |
Identifies how the user can interact with a particular cell. |
CornerType |
Specifies which corner a child widget should be placed in when packed into
a |
CssSectionType |
The different types of sections indicate parts of a CSS document as parsed by GTK’s CSS parser. They are oriented towards the CSS Grammar, but may contain extensions. since: 3.2 |
DeleteType |
See also: |
DirectionType |
Focus movement types. |
DragResult |
Gives an indication why a drag operation failed.
The value can by obtained by connecting to the
|
EntryIconPosition |
Specifies the side of the entry at which an icon is placed. since: 2.16 |
EventSequenceState |
Describes the state of a since: 3.14 |
ExpanderStyle |
Used to specify the style of the expanders drawn by a |
FileChooserAction |
Describes whether a |
FileChooserConfirmation |
Used as a return value of handlers for the
since: 2.8 |
IconSize |
Built-in stock icon sizes. |
IconViewDropPosition |
An enum for determining where a dropped item goes. |
ImageType |
Describes the image data representation used by a |
IMPreeditStyle |
Style for input method preedit. See also
deprecated: 3.10 |
IMStatusStyle |
Style for input method status. See also
deprecated: 3.10 |
InputPurpose |
Describes primary purpose of the input widget. This information is useful for on-screen keyboards and similar input methods to decide which keys should be presented to the user. since: 3.6 |
Justification |
Used for justifying the text inside a |
LevelBarMode |
Describes how since: 3.6 |
License |
The type of license for an application. since: 3.0 |
MenuDirectionType |
An enumeration representing directional movements within a menu. |
MessageType |
The type of message being displayed in the dialog. |
MovementStep | |
NotebookTab | |
NumberUpLayout |
Used to determine the layout of pages on a sheet when printing multiple pages per sheet. |
Orientation |
Represents the orientation of widgets and other objects which can be switched
between horizontal and vertical orientation on the fly, like |
PackDirection |
Determines how widgets should be packed inside menubars and menuitems contained in menubars. |
PackType |
Represents the packing location |
PadActionType |
The type of a pad action. |
PageOrientation |
See also gtk_print_settings_set_orientation(). |
PageSet |
See also gtk_print_job_set_page_set(). |
PanDirection |
Describes the panning direction of a since: 3.14 |
PathPriorityType |
Priorities for path lookups. See also gtk_binding_set_add_path(). deprecated: 3.0 |
PathType |
Widget path types. See also gtk_binding_set_add_path(). deprecated: 3.0 |
PolicyType |
Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars. |
PopoverConstraint |
Describes constraints to positioning of popovers. More values may be added to this enumeration in the future. since: 3.20 |
PositionType |
Describes which edge of a widget a certain feature is positioned at, e.g. the
tabs of a |
PrintDuplex |
See also gtk_print_settings_set_duplex(). |
PrintOperationAction |
The |
PrintOperationResult |
A value of this type is returned by gtk_print_operation_run(). |
PrintPages |
See also |
PrintQuality |
See also gtk_print_settings_set_quality(). |
PrintStatus |
The status gives a rough indication of the completion of a running print operation. |
PropagationPhase |
Describes the stage at which events are fed into a since: 3.14 |
RcTokenType |
The deprecated: 3.0 |
RecentSortType |
Used to specify the sorting method to be applyed to the recently used resource list. since: 2.10 |
ReliefStyle |
Indicated the relief to be drawn around a |
ResizeMode | |
ResponseType |
Predefined values for use as response ids in gtk_dialog_add_button(). All predefined values are negative; GTK+ leaves values of 0 or greater for application-defined response ids. |
RevealerTransitionType |
These enumeration values describe the possible transitions
when the child of a |
ScrollablePolicy |
Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation. |
ScrollStep | |
ScrollType |
Scrolling types. |
SelectionMode |
Used to control what selections users are allowed to make. |
SensitivityType |
Determines how GTK+ handles the sensitivity of stepper arrows at the end of range widgets. |
ShadowType |
Used to change the appearance of an outline typically provided by a |
ShortcutType |
GtkShortcutType specifies the kind of shortcut that is being described. More values may be added to this enumeration over time. since: 3.20 |
SizeGroupMode |
The mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets. |
SizeRequestMode |
Specifies a preference for height-for-width or width-for-height geometry management. |
SortType |
Determines the direction of a sort. |
SpinButtonUpdatePolicy |
The spin button update policy determines whether the spin button displays values even if they are outside the bounds of its adjustment. See gtk_spin_button_set_update_policy(). |
SpinType |
The values of the GtkSpinType enumeration are used to specify the change to make in gtk_spin_button_spin(). |
StackTransitionType |
These enumeration values describe the possible transitions
between pages in a |
StateType |
This type indicates the current state of a widget; the state determines how
the widget is drawn. The deprecated: 3.14 |
TextBufferTargetInfo |
These values are used as “info” for the targets contained in the
lists returned by |
TextDirection |
Reading directions for text. |
TextExtendSelection |
Granularity types that extend the text selection. Use the
since: 3.16 |
TextViewLayer |
Used to reference the layers of |
TextWindowType |
Used to reference the parts of |
ToolbarSpaceStyle |
Whether spacers are vertical lines or just blank. deprecated: 3.20 |
ToolbarStyle |
Used to customize the appearance of a |
TreeViewColumnSizing |
The sizing method the column uses to determine its width. Please note
that |
TreeViewDropPosition |
An enum for determining where a dropped row goes. |
TreeViewGridLines |
Used to indicate which grid lines to draw in a tree view. |
Unit |
See also gtk_print_settings_set_paper_width(). |
WidgetHelpType |
Kinds of widget-specific help. Used by the ::show-help signal. |
WindowPosition |
Window placement can be influenced using this enumeration. Note that using #GTK_WIN_POS_CENTER_ALWAYS is almost always a bad idea. It won’t necessarily work well with all window managers or on all windowing systems. |
WindowType |
A GTK_WINDOW_POPUP are ignored by the window manager; window managerkeybindings won’t work on them, the window manager won’t decorate the
window with a frame, many GTK+ features that rely on the window
manager will not work (e.g. resize grips and
maximization/minimization). #GTK_WINDOW_POPUP is used to implement
widgets such as |
WrapMode |
Describes a type of line wrapping. |
Bitfields
AccelFlags |
Accelerator flags used with gtk_accel_group_connect(). |
ApplicationInhibitFlags |
Types of user actions that may be blocked by gtk_application_inhibit(). since: 3.4 |
AttachOptions |
Denotes the expansion properties that a widget will have when it (or its parent) is resized. |
CalendarDisplayOptions |
These options can be used to influence the display and behaviour of a |
CellRendererState |
Tells how a cell is to be rendered. |
DebugFlag | |
DestDefaults |
The |
DialogFlags |
Flags used to influence dialog construction. |
EventControllerScrollFlags |
Describes the behavior of a since: 3.24 |
FileFilterFlags |
These flags indicate what parts of a |
FontChooserLevel |
This enumeration specifies the granularity of font selection that is desired in a font chooser. |
IconLookupFlags |
Used to specify options for |
InputHints |
Describes hints that might be taken into account by input methods
or applications. Note that input methods may already tailor their
behaviour according to the since: 3.6 |
JunctionSides |
Describes how a rendered element connects to adjacent elements. |
PlacesOpenFlags |
These flags serve two purposes. First, the application can call |
RcFlags |
Deprecated. |
RecentFilterFlags |
These flags indicate what parts of a |
RegionFlags |
Describes a region within a widget. |
StateFlags |
Describes a widget state. Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names. |
StyleContextPrintFlags |
Flags that modify the behavior of gtk_style_context_to_string(). New values may be added to this enumeration. |
TargetFlags |
The |
TextSearchFlags |
Flags affecting how a search is done. |
ToolPaletteDragTargets |
Flags used to specify the supported drag targets. |
TreeModelFlags |
These flags indicate various properties of a |
UIManagerItemType |
These enumeration values are used by deprecated: 3.10 |
Error Domains
BuilderError |
Error codes that identify various errors that can occur while using
|
CssProviderError |
Error codes for |
FileChooserError |
These identify the various errors that can occur while calling
|
IconThemeError |
Error codes for GtkIconTheme operations. |
PrintError |
Error codes that identify various errors that can occur while using the GTK+ printing support. |
RecentChooserError |
These identify the various errors that can occur while calling
since: 2.10 |
RecentManagerError |
Error codes for since: 2.10 |
Callbacks
AccelGroupActivate | |
AccelGroupFindFunc |
since: 2.2 |
AccelMapForeach | |
AssistantPageFunc |
A function used by |
BuilderConnectFunc |
This is the signature of a function used to connect signals. It is used
by the since: 2.12 |
CalendarDetailFunc |
This kind of functions provide Pango markup with detail information for the
specified day. Examples for such details are holidays or appointments. The
function returns since: 2.14 |
Callback |
The type of the callback functions used for e.g. iterating over the children of a container, see gtk_container_foreach(). |
CellAllocCallback |
The type of the callback functions used for iterating over the
cell renderers and their allocated areas inside a |
CellCallback |
The type of the callback functions used for iterating over
the cell renderers of a |
CellLayoutDataFunc |
A function which should set the value of |
ClipboardClearFunc |
A function that will be called when the contents of the clipboard are changed
or cleared. Once this has called, the |
ClipboardGetFunc |
A function that will be called to provide the contents of the selection.
If multiple types of data were advertised, the requested type can
be determined from the |
ClipboardImageReceivedFunc |
A function to be called when the results of since: 2.6 |
ClipboardReceivedFunc |
A function to be called when the results of |
ClipboardRichTextReceivedFunc |
A function to be called when the results of
since: 2.10 |
ClipboardTargetsReceivedFunc |
A function to be called when the results of since: 2.4 |
ClipboardTextReceivedFunc |
A function to be called when the results of |
ClipboardURIReceivedFunc |
A function to be called when the results of
since: 2.14 |
ColorSelectionChangePaletteFunc |
deprecated: 3.4 |
ColorSelectionChangePaletteWithScreenFunc |
deprecated: 3.4 since: 2.2 |
EntryCompletionMatchFunc |
A function which decides whether the row indicated by |
FileFilterFunc |
The type of function that is used with custom filters, see gtk_file_filter_add_custom(). |
FlowBoxCreateWidgetFunc |
Called for flow boxes that are bound to a since: 3.18 |
FlowBoxFilterFunc |
A function that will be called whenrever a child changes or is added. It lets you control if the child should be visible or not. since: 3.12 |
FlowBoxForeachFunc |
A function used by gtk_flow_box_selected_foreach().
It will be called on every selected child of the since: 3.12 |
FlowBoxSortFunc |
A function to compare two children to determine which should come first. since: 3.12 |
FontFilterFunc |
The type of function that is used for deciding what fonts get
shown in a |
IconViewForeachFunc |
A function used by |
KeySnoopFunc |
Key snooper functions are called before normal event delivery. They can be used to implement custom key event handling. |
ListBoxCreateWidgetFunc |
Called for list boxes that are bound to a since: 3.16 |
ListBoxFilterFunc |
Will be called whenever the row changes or is added and lets you control if the row should be visible or not. since: 3.10 |
ListBoxForeachFunc |
A function used by gtk_list_box_selected_foreach().
It will be called on every selected child of the since: 3.14 |
ListBoxSortFunc |
Compare two rows to determine which should be first. since: 3.10 |
ListBoxUpdateHeaderFunc |
Whenever since: 3.10 |
MenuDetachFunc |
A user function supplied when calling |
MenuPositionFunc |
A user function supplied when calling |
ModuleDisplayInitFunc |
A multihead-aware GTK+ module may have a since: 2.2 |
ModuleInitFunc |
Each GTK+ module must have a function |
PageSetupDoneFunc |
The type of function that is passed to gtk_print_run_page_setup_dialog_async(). |
PrintSettingsFunc | |
RcPropertyParser | |
RecentFilterFunc |
The type of function that is used with custom filters, see gtk_recent_filter_add_custom(). |
RecentSortFunc | |
StylePropertyParser | |
TextBufferDeserializeFunc |
A function that is called to deserialize rich text that has been
serialized with gtk_text_buffer_serialize(), and insert it at |
TextBufferSerializeFunc |
A function that is called to serialize the content of a text buffer. It must return the serialized form of the content. |
TextCharPredicate | |
TextTagTableForeach | |
TickCallback |
Callback type for adding a function to update animations. See gtk_widget_add_tick_callback(). since: 3.8 |
TranslateFunc |
The function used to translate messages in e.g. deprecated: 3.10 |
TreeCellDataFunc |
A function to set the properties of a cell instead of just using the
straight mapping between the cell and the model. This is useful for
customizing the cell renderer. For example, a function might get an
integer from the |
TreeDestroyCountFunc | |
TreeIterCompareFunc |
A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive
integer if |
TreeModelFilterModifyFunc |
A function which calculates display values from raw values in the model.
It must fill |
TreeModelFilterVisibleFunc |
A function which decides whether the row indicated by |
TreeModelForeachFunc |
Type of the callback passed to |
TreeSelectionForeachFunc |
A function used by |
TreeSelectionFunc |
A function used by |
TreeViewColumnDropFunc |
Function type for determining whether |
TreeViewMappingFunc |
Function used for gtk_tree_view_map_expanded_rows(). |
TreeViewRowSeparatorFunc |
Function type for determining whether the row pointed to by |
TreeViewSearchEqualFunc |
A function used for checking whether a row in |
TreeViewSearchPositionFunc |
Functions
accel_groups_activate |
Finds the first accelerator in any |
accel_groups_from_object |
Gets a list of all accel groups which are attached to |
accelerator_get_default_mod_mask |
Gets the modifier mask. |
accelerator_get_label |
Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user. since: 2.6 |
accelerator_get_label_with_keycode |
Converts an accelerator keyval and modifier mask into a (possibly translated) string that can be displayed to a user, similarly to gtk_accelerator_get_label(), but handling keycodes. since: 3.4 |
accelerator_name |
Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse(). For example, if you pass in GDK_KEY_q and #GDK_CONTROL_MASK, this function returns “
|
accelerator_name_with_keycode |
Converts an accelerator keyval and modifier mask
into a string parseable by gtk_accelerator_parse_with_keycode(),
similarly to since: 3.4 |
accelerator_parse |
Parses a string representing an accelerator. The format looks like
“ |
accelerator_parse_with_keycode |
Parses a string representing an accelerator, similarly to
since: 3.4 |
accelerator_set_default_mod_mask |
Sets the modifiers that will be considered significant for keyboard accelerators. The default mod mask depends on the GDK backend in use, but will typically include #GDK_CONTROL_MASK | #GDK_SHIFT_MASK | GDK_MOD1_MASK | #GDK_SUPER_MASK | #GDK_HYPER_MASK | #GDK_META_MASK.In other words, Control, Shift, Alt, Super, Hyper and Meta. Other
modifiers will by default be ignored by |
accelerator_valid |
Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. For example, the #GDK_KEY_a keyval plus #GDK_CONTROL_MASK is valid - this is a “Ctrl+a” accelerator. But, you can’t, for instance, use the #GDK_KEY_Control_L keyval as an accelerator. |
alternative_dialog_button_order |
Returns deprecated: 3.10 since: 2.6 |
bindings_activate |
Find a key binding matching |
bindings_activate_event |
Looks up key bindings for since: 2.4 |
cairo_should_draw_window |
This function is supposed to be called in since: 3.0 |
cairo_transform_to_window |
Transforms the given cairo context since: 3.0 |
check_version |
Checks that the GTK+ library in use is compatible with the given version. Generally you would pass in the constants GTK_MAJOR_VERSION, #GTK_MINOR_VERSION, #GTK_MICRO_VERSIONas the three arguments to this function; that produces a check that the library in use is compatible with the version of GTK+ the application or module was compiled against. |
device_grab_add |
Adds a GTK+ grab on since: 3.0 |
device_grab_remove |
Removes a device grab from the given widget. since: 3.0 |
disable_setlocale |
Prevents gtk_init(), gtk_init_check(), |
distribute_natural_allocation |
Distributes |
drag_cancel |
Cancels an ongoing drag operation on the source side. since: 3.16 |
drag_finish |
Informs the drag source that the drop is finished, and that the data of the drag will no longer be required. |
drag_get_source_widget |
Determines the source widget for a drag. |
drag_set_icon_default |
Sets the icon for a particular drag to the default icon. |
drag_set_icon_gicon |
Sets the icon for a given drag from the given since: 3.2 |
drag_set_icon_name |
Sets the icon for a given drag from a named themed icon. See
the docs for since: 2.8 |
drag_set_icon_pixbuf |
Sets |
drag_set_icon_stock |
Sets the icon for a given drag from a stock ID. deprecated: 3.10 |
drag_set_icon_surface |
Sets |
drag_set_icon_widget |
Changes the icon for drag operation to a given widget. GTK+ will not destroy the widget, so if you don’t want it to persist, you should connect to the “drag-end” signal and destroy it yourself. |
draw_insertion_cursor |
Draws a text caret on deprecated: 3.4 since: 3.0 |
events_pending |
Checks if any events are pending. |
false |
Analogical to gtk_true(), this function does nothing
but always returns |
get_binary_age |
Returns the binary age as passed to since: 3.0 |
get_current_event |
Obtains a copy of the event currently being processed by GTK+. |
get_current_event_device |
If there is a current event and it has a device, return that
device, otherwise return |
get_current_event_state |
If there is a current event and it has a state field, place
that state field in |
get_current_event_time |
If there is a current event and it has a timestamp,
return that timestamp, otherwise return |
get_debug_flags |
Returns the GTK+ debug flags. |
get_default_language |
Returns the |
get_event_widget |
If |
get_interface_age |
Returns the interface age as passed to since: 3.0 |
get_locale_direction |
Get the direction of the current locale. This is the expected reading direction for text and UI. since: 3.12 |
get_major_version |
Returns the major version number of the GTK+ library. (e.g. in GTK+ version 3.1.5 this is 3.) since: 3.0 |
get_micro_version |
Returns the micro version number of the GTK+ library. (e.g. in GTK+ version 3.1.5 this is 5.) since: 3.0 |
get_minor_version |
Returns the minor version number of the GTK+ library. (e.g. in GTK+ version 3.1.5 this is 1.) since: 3.0 |
get_option_group |
Returns a since: 2.6 |
grab_get_current |
Queries the current grab of the default window group. |
init |
Call this function before using any other GTK+ functions in your GUI applications. It will initialize everything needed to operate the toolkit and parses some standard command line options. |
init_check |
This function does the same work as |
init_with_args |
This function does the same work as gtk_init_check().
Additionally, it allows you to add your own commandline options,
and it automatically generates nicely formatted
since: 2.6 |
key_snooper_install |
Installs a key snooper function, which will get called on all key events before delivering them normally. deprecated: 3.4 |
key_snooper_remove |
Removes the key snooper function with the given id. deprecated: 3.4 |
main |
Runs the main loop until |
main_do_event |
Processes a single GDK event. |
main_iteration |
Runs a single iteration of the mainloop. |
main_iteration_do |
Runs a single iteration of the mainloop.
If no events are available either return or block depending on
the value of |
main_level |
Asks for the current nesting level of the main loop. |
main_quit |
Makes the innermost invocation of the main loop return when it regains control. |
paint_arrow |
Draws an arrow in the given rectangle on deprecated: 3.0 |
paint_box |
Draws a box on deprecated: 3.0 |
paint_box_gap |
Draws a box in deprecated: 3.0 |
paint_check |
Draws a check button indicator in the given rectangle on deprecated: 3.0 |
paint_diamond |
Draws a diamond in the given rectangle on deprecated: 3.0 |
paint_expander |
Draws an expander as used in deprecated: 3.0 |
paint_extension |
Draws an extension, i.e. a notebook tab. deprecated: 3.0 |
paint_flat_box |
Draws a flat box on deprecated: 3.0 |
paint_focus |
Draws a focus indicator around the given rectangle on deprecated: 3.0 |
paint_handle |
Draws a handle as used in deprecated: 3.0 |
paint_hline |
Draws a horizontal line from ( deprecated: 3.0 |
paint_layout |
Draws a layout on deprecated: 3.0 |
paint_option |
Draws a radio button indicator in the given rectangle on deprecated: 3.0 |
paint_resize_grip |
Draws a resize grip in the given rectangle on deprecated: 3.0 |
paint_shadow |
Draws a shadow around the given rectangle in deprecated: 3.0 |
paint_shadow_gap |
Draws a shadow around the given rectangle in deprecated: 3.0 |
paint_slider |
Draws a slider in the given rectangle on deprecated: 3.0 |
paint_spinner |
Draws a spinner on deprecated: 3.0 |
paint_tab |
Draws an option menu tab (i.e. the up and down pointing arrows)
in the given rectangle on deprecated: 3.0 |
paint_vline |
Draws a vertical line from ( deprecated: 3.0 |
parse_args |
Parses command line arguments, and initializes global attributes of GTK+, but does not actually open a connection to a display. (See gdk_display_open(), gdk_get_display_arg_name()) |
print_run_page_setup_dialog |
Runs a page setup dialog, letting the user modify the values from
since: 2.10 |
print_run_page_setup_dialog_async |
Runs a page setup dialog, letting the user modify the values from since: 2.10 |
propagate_event |
Sends an event to a widget, propagating the event to parent widgets if the event remains unhandled. |
rc_add_default_file |
Adds a file to the list of files to be parsed at the end of gtk_init(). deprecated: 3.0 |
rc_find_module_in_path |
Searches for a theme engine in the GTK+ search path. This function is not useful for applications and should not be used. deprecated: 3.0 |
rc_find_pixmap_in_path |
Looks up a file in pixmap path for the specified deprecated: 3.0 |
rc_get_default_files |
Retrieves the current list of RC files that will be parsed at the end of gtk_init(). deprecated: 3.0 |
rc_get_im_module_file |
Obtains the path to the IM modules file. See the documentation
of the deprecated: 3.0 |
rc_get_im_module_path |
Obtains the path in which to look for IM modules. See the documentation
of the deprecated: 3.0 |
rc_get_module_dir |
Returns a directory in which GTK+ looks for theme engines.
For full information about the search for theme engines,
see the docs for deprecated: 3.0 |
rc_get_style |
Finds all matching RC styles for a given widget,
composites them together, and then creates a
deprecated: 3.0 |
rc_get_style_by_paths |
Creates up a deprecated: 3.0 |
rc_get_theme_dir |
Returns the standard directory in which themes should be installed. (GTK+ does not actually use this directory itself.) deprecated: 3.0 |
rc_parse |
Parses a given resource file. deprecated: 3.0 |
rc_parse_color |
Parses a color in the format expected in a RC file. deprecated: 3.0 |
rc_parse_color_full |
Parses a color in the format expected
in a RC file. If deprecated: 3.0 since: 2.12 |
rc_parse_priority |
Parses a deprecated: 3.0 |
rc_parse_state |
Parses a deprecated: 3.0 |
rc_parse_string |
Parses resource information directly from a string. deprecated: 3.0 |
rc_reparse_all |
If the modification time on any previously read file for the
default deprecated: 3.0 |
rc_reparse_all_for_settings |
If the modification time on any previously read file
for the given deprecated: 3.0 |
rc_reset_styles |
This function recomputes the styles for all widgets that use a
particular deprecated: 3.0 since: 2.4 |
rc_scanner_new |
deprecated: 3.0 |
rc_set_default_files |
Sets the list of files that GTK+ will read at the end of gtk_init(). deprecated: 3.0 |
render_activity |
Renders an activity indicator (such as in since: 3.0 |
render_arrow |
Renders an arrow pointing to since: 3.0 |
render_background |
Renders the background of an element. since: 3.0. |
render_background_get_clip |
Returns the area that will be affected (i.e. drawn to) when
calling since: 3.20 |
render_check |
Renders a checkmark (as in a since: 3.0 |
render_expander |
Renders an expander (as used in since: 3.0 |
render_extension |
Renders a extension (as in a since: 3.0 |
render_focus |
Renders a focus indicator on the rectangle determined by since: 3.0 |
render_frame |
Renders a frame around the rectangle defined by since: 3.0 |
render_frame_gap |
Renders a frame around the rectangle defined by ( deprecated: 3.24 since: 3.0 |
render_handle |
Renders a handle (as in since: 3.0 |
render_icon |
Renders the icon in since: 3.2 |
render_icon_pixbuf |
Renders the icon specified by deprecated: 3.10 since: 3.0 |
render_icon_surface |
Renders the icon in since: 3.10 |
render_insertion_cursor |
Draws a text caret on since: 3.4 |
render_layout |
Renders since: 3.0 |
render_line |
Renders a line from (x0, y0) to (x1, y1). since: 3.0 |
render_option |
Renders an option mark (as in a since: 3.0 |
render_slider |
Renders a slider (as in since: 3.0 |
rgb_to_hsv |
Converts a color from RGB space to HSV. since: 2.14 |
selection_add_target |
Appends a specified target to the list of supported targets for a given widget and selection. |
selection_add_targets |
Prepends a table of targets to the list of supported targets for a given widget and selection. |
selection_clear_targets |
Remove all targets registered for the given selection for the widget. |
selection_convert |
Requests the contents of a selection. When received, a “selection-received” signal will be generated. |
selection_owner_set |
Claims ownership of a given selection for a particular widget,
or, if |
selection_owner_set_for_display |
Claim ownership of a given selection for a particular widget, or,
if since: 2.2 |
selection_remove_all |
Removes all handlers and unsets ownership of all selections for a widget. Called when widget is being destroyed. This function will not generally be called by applications. |
set_debug_flags |
Sets the GTK+ debug flags. |
show_about_dialog |
This is a convenience function for showing an application’s about box. The constructed dialog is associated with the parent window and reused for future invocations of this function. since: 2.6 |
show_uri |
A convenience function for launching the default application to show the uri. Like gtk_show_uri_on_window(), but takes a screen as transient parent instead of a window. deprecated: 3.22 since: 2.14 |
show_uri_on_window |
This is a convenience function for launching the default application
to show the uri. The uri must be of a form understood by GIO (i.e. you
need to install gvfs to get support for uri schemes such as http://
or ftp://, as only local files are handled by GIO itself).
Typical examples are
- since: 3.22 |
stock_add |
Registers each of the stock items in deprecated: 3.10 |
stock_add_static |
Same as gtk_stock_add(), but doesn’t copy deprecated: 3.10 |
stock_list_ids |
Retrieves a list of all known stock IDs added to a deprecated: 3.10 |
stock_lookup |
Fills deprecated: 3.10 |
stock_set_translate_func |
Sets a function to be used for translating the deprecated: 3.10 since: 2.8 |
target_table_free |
This function frees a target table as returned by
since: 2.10 |
target_table_new_from_list |
This function creates an since: 2.10 |
targets_include_image |
Determines if any of the targets in since: 2.10 |
targets_include_rich_text |
Determines if any of the targets in since: 2.10 |
targets_include_text |
Determines if any of the targets in since: 2.10 |
targets_include_uri |
Determines if any of the targets in since: 2.10 |
test_create_simple_window |
Create a simple window with window title deprecated: 3.20 since: 2.14 |
test_create_widget |
This function wraps deprecated: 3.20 since: 2.14 |
test_display_button_window |
Create a window with window title deprecated: 3.20 since: 2.14 |
test_find_label |
This function will search since: 2.14 |
test_find_sibling |
This function will search siblings of since: 2.14 |
test_find_widget |
This function will search the descendants of since: 2.14 |
test_init |
This function is used to initialize a GTK+ test program. since: 2.14 |
test_list_all_types |
Return the type ids that have been registered after calling gtk_test_register_all_types(). since: 2.14 |
test_register_all_types |
Force registration of all core Gtk+ and Gdk object types.
This allowes to refer to any of those object types via
since: 2.14 |
test_slider_get_value |
Retrive the literal adjustment value for GtkRange based
widgets and spin buttons. Note that the value returned by
this function is anything between the lower and upper bounds
of the adjustment belonging to deprecated: 3.20 since: 2.14 |
test_slider_set_perc |
This function will adjust the slider position of all GtkRange
based widgets, such as scrollbars or scales, it’ll also adjust
spin buttons. The adjustment value of these widgets is set to
a value between the lower and upper limits, according to the
deprecated: 3.20 since: 2.14 |
test_spin_button_click |
This function will generate a deprecated: 3.20 since: 2.14 |
test_text_get |
Retrive the text string of deprecated: 3.20 since: 2.14 |
test_text_set |
Set the text string of deprecated: 3.20 since: 2.14 |
test_widget_click |
This function will generate a deprecated: 3.20 since: 2.14 |
test_widget_send_key |
This function will generate keyboard press and release events in
the middle of the first GdkWindow found that belongs to since: 2.14 |
test_widget_wait_for_draw |
Enters the main loop and waits for since: 3.10 |
tree_get_row_drag_data |
Obtains a |
tree_set_row_drag_data |
Sets selection data of target type |
true |
All this function does it to return |
Function Macros
ACTIVATABLE_CLASS | |
BUILDABLE_CLASS | |
BUILDER_WARN_INVALID_CHILD_TYPE |
This macro should be used to emit a warning about and unexpected |
CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID |
This macro should be used to emit a standard warning about unexpected
properties in |
CELL_EDITABLE_CLASS | |
CHECK_VERSION |
Returns |
CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID |
This macro should be used to emit a standard warning about unexpected
properties in |
DEBUG_CHECK | |
HBOX | |
HBOX_CLASS | |
HBUTTON_BOX | |
HBUTTON_BOX_CLASS | |
HPANED | |
HPANED_CLASS | |
HSCALE | |
HSCALE_CLASS | |
HSCROLLBAR | |
HSCROLLBAR_CLASS | |
HSEPARATOR | |
HSEPARATOR_CLASS | |
HSV_CLASS | |
NOTE | |
ORIENTABLE_CLASS | |
RC_STYLE | |
RC_STYLE_CLASS | |
STYLE_ATTACHED | |
TREE_SORTABLE_CLASS | |
VBOX | |
VBOX_CLASS | |
VBUTTON_BOX | |
VBUTTON_BOX_CLASS | |
VPANED | |
VPANED_CLASS | |
VSCALE | |
VSCALE_CLASS | |
VSCROLLBAR | |
VSCROLLBAR_CLASS | |
VSEPARATOR | |
VSEPARATOR_CLASS | |
widget_class_bind_template_callback |
Binds a callback function defined in a template to the since: 3.10 |
widget_class_bind_template_child |
Binds a child widget defined in a template to the since: 3.10 |
widget_class_bind_template_child_internal |
Binds a child widget defined in a template to the since: 3.10 |
widget_class_bind_template_child_internal_private |
Binds a child widget defined in a template to the since: 3.10 |
widget_class_bind_template_child_private |
Binds a child widget defined in a template to the since: 3.10 |
Constants
BINARY_AGE |
Like gtk_get_binary_age(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
INPUT_ERROR |
Constant to return from a signal handler for the |
INTERFACE_AGE |
Like gtk_get_interface_age(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
LEVEL_BAR_OFFSET_FULL |
The name used for the stock full offset included by |
LEVEL_BAR_OFFSET_HIGH |
The name used for the stock high offset included by |
LEVEL_BAR_OFFSET_LOW |
The name used for the stock low offset included by |
MAJOR_VERSION |
Like gtk_get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
MAX_COMPOSE_LEN |
The maximum length of sequences in compose tables. |
MICRO_VERSION |
Like gtk_get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
MINOR_VERSION |
Like gtk_get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time. |
PAPER_NAME_A3 |
Name for the A3 paper size. |
PAPER_NAME_A4 |
Name for the A4 paper size. |
PAPER_NAME_A5 |
Name for the A5 paper size. |
PAPER_NAME_B5 |
Name for the B5 paper size. |
PAPER_NAME_EXECUTIVE |
Name for the Executive paper size. |
PAPER_NAME_LEGAL |
Name for the Legal paper size. |
PAPER_NAME_LETTER |
Name for the Letter paper size. |
PATH_PRIO_MASK | |
PRINT_SETTINGS_COLLATE | |
PRINT_SETTINGS_DEFAULT_SOURCE | |
PRINT_SETTINGS_DITHER | |
PRINT_SETTINGS_DUPLEX | |
PRINT_SETTINGS_FINISHINGS | |
PRINT_SETTINGS_MEDIA_TYPE | |
PRINT_SETTINGS_N_COPIES | |
PRINT_SETTINGS_NUMBER_UP | |
PRINT_SETTINGS_NUMBER_UP_LAYOUT | |
PRINT_SETTINGS_ORIENTATION | |
PRINT_SETTINGS_OUTPUT_BASENAME |
The key used by the “Print to file” printer to store the file name of the output without the path to the directory and the file extension. |
PRINT_SETTINGS_OUTPUT_BIN | |
PRINT_SETTINGS_OUTPUT_DIR |
The key used by the “Print to file” printer to store the directory to which the output should be written. |
PRINT_SETTINGS_OUTPUT_FILE_FORMAT |
The key used by the “Print to file” printer to store the format of the output. The supported values are “PS” and “PDF”. |
PRINT_SETTINGS_OUTPUT_URI |
The key used by the “Print to file” printer to store the URI to which the output should be written. GTK+ itself supports only “file://” URIs. |
PRINT_SETTINGS_PAGE_RANGES | |
PRINT_SETTINGS_PAGE_SET | |
PRINT_SETTINGS_PAPER_FORMAT | |
PRINT_SETTINGS_PAPER_HEIGHT | |
PRINT_SETTINGS_PAPER_WIDTH | |
PRINT_SETTINGS_PRINT_PAGES | |
PRINT_SETTINGS_PRINTER | |
PRINT_SETTINGS_PRINTER_LPI | |
PRINT_SETTINGS_QUALITY | |
PRINT_SETTINGS_RESOLUTION | |
PRINT_SETTINGS_RESOLUTION_X | |
PRINT_SETTINGS_RESOLUTION_Y | |
PRINT_SETTINGS_REVERSE | |
PRINT_SETTINGS_SCALE | |
PRINT_SETTINGS_USE_COLOR | |
PRINT_SETTINGS_WIN32_DRIVER_EXTRA | |
PRINT_SETTINGS_WIN32_DRIVER_VERSION | |
PRIORITY_RESIZE |
Use this priority for functionality related to size allocation. |
STOCK_ABOUT |
The “About” item.
deprecated: 3.10 |
STOCK_ADD |
The “Add” item and icon. deprecated: 3.10 |
STOCK_APPLY |
The “Apply” item and icon. deprecated: 3.10 |
STOCK_BOLD |
The “Bold” item and icon. deprecated: 3.10 |
STOCK_CANCEL |
The “Cancel” item and icon. deprecated: 3.10 |
STOCK_CAPS_LOCK_WARNING |
The “Caps Lock Warning” icon. deprecated: 3.10 |
STOCK_CDROM |
The “CD-Rom” item and icon. deprecated: 3.10 |
STOCK_CLEAR |
The “Clear” item and icon. deprecated: 3.10 |
STOCK_CLOSE |
The “Close” item and icon. deprecated: 3.10 |
STOCK_COLOR_PICKER |
The “Color Picker” item and icon. deprecated: 3.10 |
STOCK_CONNECT |
The “Connect” icon. deprecated: 3.10 |
STOCK_CONVERT |
The “Convert” item and icon. deprecated: 3.10 |
STOCK_COPY |
The “Copy” item and icon. deprecated: 3.10 |
STOCK_CUT |
The “Cut” item and icon. deprecated: 3.10 |
STOCK_DELETE |
The “Delete” item and icon. deprecated: 3.10 |
STOCK_DIALOG_AUTHENTICATION |
The “Authentication” item and icon. deprecated: 3.10 |
STOCK_DIALOG_ERROR |
The “Error” item and icon. deprecated: 3.10 |
STOCK_DIALOG_INFO |
The “Information” item and icon. deprecated: 3.10 |
STOCK_DIALOG_QUESTION |
The “Question” item and icon. deprecated: 3.10 |
STOCK_DIALOG_WARNING |
The “Warning” item and icon. deprecated: 3.10 |
STOCK_DIRECTORY |
The “Directory” icon. deprecated: 3.10 |
STOCK_DISCARD |
The “Discard” item. deprecated: 3.10 |
STOCK_DISCONNECT |
The “Disconnect” icon. deprecated: 3.10 |
STOCK_DND |
The “Drag-And-Drop” icon. deprecated: 3.10 |
STOCK_DND_MULTIPLE |
The “Drag-And-Drop multiple” icon. deprecated: 3.10 |
STOCK_EDIT |
The “Edit” item and icon. deprecated: 3.10 |
STOCK_EXECUTE |
The “Execute” item and icon. deprecated: 3.10 |
STOCK_FILE |
The “File” item and icon. deprecated: 3.10 |
STOCK_FIND |
The “Find” item and icon. deprecated: 3.10 |
STOCK_FIND_AND_REPLACE |
The “Find and Replace” item and icon. deprecated: 3.10 |
STOCK_FLOPPY |
The “Floppy” item and icon. deprecated: 3.10 |
STOCK_FULLSCREEN |
The “Fullscreen” item and icon. deprecated: 3.10 |
STOCK_GO_BACK |
The “Back” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_GO_DOWN |
The “Down” item and icon. deprecated: 3.10 |
STOCK_GO_FORWARD |
The “Forward” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_GO_UP |
The “Up” item and icon. deprecated: 3.10 |
STOCK_GOTO_BOTTOM |
The “Bottom” item and icon. deprecated: 3.10 |
STOCK_GOTO_FIRST |
The “First” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_GOTO_LAST |
The “Last” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_GOTO_TOP |
The “Top” item and icon. deprecated: 3.10 |
STOCK_HARDDISK |
The “Harddisk” item and icon. deprecated: 3.10 |
STOCK_HELP |
The “Help” item and icon. deprecated: 3.10 |
STOCK_HOME |
The “Home” item and icon. deprecated: 3.10 |
STOCK_INDENT |
The “Indent” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_INDEX |
The “Index” item and icon. deprecated: 3.10 |
STOCK_INFO |
The “Info” item and icon. deprecated: 3.10 |
STOCK_ITALIC |
The “Italic” item and icon. deprecated: 3.10 |
STOCK_JUMP_TO |
The “Jump to” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_JUSTIFY_CENTER |
The “Center” item and icon. deprecated: 3.10 |
STOCK_JUSTIFY_FILL |
The “Fill” item and icon. deprecated: 3.10 |
STOCK_JUSTIFY_LEFT |
The “Left” item and icon. deprecated: 3.10 |
STOCK_JUSTIFY_RIGHT |
The “Right” item and icon. deprecated: 3.10 |
STOCK_LEAVE_FULLSCREEN |
The “Leave Fullscreen” item and icon. deprecated: 3.10 |
STOCK_MEDIA_FORWARD |
The “Media Forward” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_MEDIA_NEXT |
The “Media Next” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_MEDIA_PAUSE |
The “Media Pause” item and icon. deprecated: 3.10 |
STOCK_MEDIA_PLAY |
The “Media Play” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_MEDIA_PREVIOUS |
The “Media Previous” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_MEDIA_RECORD |
The “Media Record” item and icon. deprecated: 3.10 |
STOCK_MEDIA_REWIND |
The “Media Rewind” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_MEDIA_STOP |
The “Media Stop” item and icon. deprecated: 3.10 |
STOCK_MISSING_IMAGE |
The “Missing image” icon. deprecated: 3.10 |
STOCK_NETWORK |
The “Network” item and icon. deprecated: 3.10 |
STOCK_NEW |
The “New” item and icon. deprecated: 3.10 |
STOCK_NO |
The “No” item and icon. deprecated: 3.10 |
STOCK_OK |
The “OK” item and icon. deprecated: 3.10 |
STOCK_OPEN |
The “Open” item and icon. deprecated: 3.10 |
STOCK_ORIENTATION_LANDSCAPE |
The “Landscape Orientation” item and icon. deprecated: 3.10 |
STOCK_ORIENTATION_PORTRAIT |
The “Portrait Orientation” item and icon. deprecated: 3.10 |
STOCK_ORIENTATION_REVERSE_LANDSCAPE |
The “Reverse Landscape Orientation” item and icon. deprecated: 3.10 |
STOCK_ORIENTATION_REVERSE_PORTRAIT |
The “Reverse Portrait Orientation” item and icon. deprecated: 3.10 |
STOCK_PAGE_SETUP |
The “Page Setup” item and icon. deprecated: 3.10 |
STOCK_PASTE |
The “Paste” item and icon. deprecated: 3.10 |
STOCK_PREFERENCES |
The “Preferences” item and icon. deprecated: 3.10 |
STOCK_PRINT |
The “Print” item and icon. deprecated: 3.10 |
STOCK_PRINT_ERROR |
The “Print Error” icon. deprecated: 3.10 |
STOCK_PRINT_PAUSED |
The “Print Paused” icon. deprecated: 3.10 |
STOCK_PRINT_PREVIEW |
The “Print Preview” item and icon. deprecated: 3.10 |
STOCK_PRINT_REPORT |
The “Print Report” icon. deprecated: 3.10 |
STOCK_PRINT_WARNING |
The “Print Warning” icon. deprecated: 3.10 |
STOCK_PROPERTIES |
The “Properties” item and icon. deprecated: 3.10 |
STOCK_QUIT |
The “Quit” item and icon. deprecated: 3.10 |
STOCK_REDO |
The “Redo” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_REFRESH |
The “Refresh” item and icon. deprecated: 3.10 |
STOCK_REMOVE |
The “Remove” item and icon. deprecated: 3.10 |
STOCK_REVERT_TO_SAVED |
The “Revert” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_SAVE |
The “Save” item and icon. deprecated: 3.10 |
STOCK_SAVE_AS |
The “Save As” item and icon. deprecated: 3.10 |
STOCK_SELECT_ALL |
The “Select All” item and icon. deprecated: 3.10 |
STOCK_SELECT_COLOR |
The “Color” item and icon. deprecated: 3.10 |
STOCK_SELECT_FONT |
The “Font” item and icon. deprecated: 3.10 |
STOCK_SORT_ASCENDING |
The “Ascending” item and icon. deprecated: 3.10 |
STOCK_SORT_DESCENDING |
The “Descending” item and icon. deprecated: 3.10 |
STOCK_SPELL_CHECK |
The “Spell Check” item and icon. deprecated: 3.10 |
STOCK_STOP |
The “Stop” item and icon. deprecated: 3.10 |
STOCK_STRIKETHROUGH |
The “Strikethrough” item and icon. deprecated: 3.10 |
STOCK_UNDELETE |
The “Undelete” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_UNDERLINE |
The “Underline” item and icon. deprecated: 3.10 |
STOCK_UNDO |
The “Undo” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_UNINDENT |
The “Unindent” item and icon. The icon has an RTL variant. deprecated: 3.10 |
STOCK_YES |
The “Yes” item and icon. deprecated: 3.10 |
STOCK_ZOOM_100 |
The “Zoom 100%” item and icon. deprecated: 3.10 |
STOCK_ZOOM_FIT |
The “Zoom to Fit” item and icon. deprecated: 3.10 |
STOCK_ZOOM_IN |
The “Zoom In” item and icon. deprecated: 3.10 |
STOCK_ZOOM_OUT |
The “Zoom Out” item and icon. deprecated: 3.10 |
STYLE_CLASS_ACCELERATOR |
A CSS class to match an accelerator. |
STYLE_CLASS_ARROW |
A CSS class used when rendering an arrow element. |
STYLE_CLASS_BACKGROUND |
A CSS class to match the window background. |
STYLE_CLASS_BOTTOM |
A CSS class to indicate an area at the bottom of a widget. |
STYLE_CLASS_BUTTON |
A CSS class to match buttons. |
STYLE_CLASS_CALENDAR |
A CSS class to match calendars. |
STYLE_CLASS_CELL |
A CSS class to match content rendered in cell views. |
STYLE_CLASS_CHECK |
A CSS class to match check boxes. |
STYLE_CLASS_COMBOBOX_ENTRY |
A CSS class to match combobox entries. |
STYLE_CLASS_CONTEXT_MENU |
A CSS class to match context menus. |
STYLE_CLASS_CSD |
A CSS class that gets added to windows which have client-side decorations. |
STYLE_CLASS_CURSOR_HANDLE |
A CSS class used when rendering a drag handle for text selection. |
STYLE_CLASS_DEFAULT |
A CSS class to match the default widget. |
STYLE_CLASS_DESTRUCTIVE_ACTION |
A CSS class used when an action (usually a button) is one that is expected to remove or destroy something visible to the user. |
STYLE_CLASS_DIM_LABEL |
A CSS class to match dimmed labels. |
STYLE_CLASS_DND |
A CSS class for a drag-and-drop indicator. |
STYLE_CLASS_DOCK |
A CSS class defining a dock area. |
STYLE_CLASS_ENTRY |
A CSS class to match text entries. |
STYLE_CLASS_ERROR |
A CSS class for an area displaying an error message, such as those in infobars. |
STYLE_CLASS_EXPANDER |
A CSS class defining an expander, such as those in treeviews. |
STYLE_CLASS_FLAT |
A CSS class that is added when widgets that usually have a frame or border (like buttons or entries) should appear without it. |
STYLE_CLASS_FRAME |
A CSS class defining a frame delimiting content, such as
|
STYLE_CLASS_GRIP |
A CSS class defining a resize grip. |
STYLE_CLASS_HEADER |
A CSS class to match a header element. |
STYLE_CLASS_HIGHLIGHT |
A CSS class defining a highlighted area, such as headings in assistants and calendars. |
STYLE_CLASS_HORIZONTAL |
A CSS class for horizontally layered widgets. |
STYLE_CLASS_IMAGE |
A CSS class defining an image, such as the icon in an entry. |
STYLE_CLASS_INFO |
A CSS class for an area displaying an informational message, such as those in infobars. |
STYLE_CLASS_INLINE_TOOLBAR |
A CSS class to match inline toolbars. |
STYLE_CLASS_INSERTION_CURSOR |
A CSS class used when rendering a drag handle for the insertion cursor position. |
STYLE_CLASS_LABEL |
A CSS class to match labels. |
STYLE_CLASS_LEFT |
A CSS class to indicate an area at the left of a widget. |
STYLE_CLASS_LEVEL_BAR |
A CSS class used when rendering a level indicator, such as a battery charge level, or a password strength. |
STYLE_CLASS_LINKED |
A CSS class to match a linked area, such as a box containing buttons belonging to the same control. |
STYLE_CLASS_LIST |
A CSS class to match lists. |
STYLE_CLASS_LIST_ROW |
A CSS class to match list rows. |
STYLE_CLASS_MARK |
A CSS class defining marks in a widget, such as in scales. |
STYLE_CLASS_MENU |
A CSS class to match menus. |
STYLE_CLASS_MENUBAR |
A CSS class to menubars. |
STYLE_CLASS_MENUITEM |
A CSS class to match menu items. |
STYLE_CLASS_MESSAGE_DIALOG |
A CSS class that is added to message dialogs. |
STYLE_CLASS_MONOSPACE |
A CSS class that is added to text view that should use a monospace font. |
STYLE_CLASS_NEEDS_ATTENTION |
A CSS class used when an element needs the user attention, for instance a button in a stack switcher corresponding to a hidden page that changed state. |
STYLE_CLASS_NOTEBOOK |
A CSS class defining a notebook. |
STYLE_CLASS_OSD |
A CSS class used when rendering an OSD (On Screen Display) element, on top of another container. |
STYLE_CLASS_OVERSHOOT |
A CSS class that is added on the visual hints that happen when scrolling is attempted past the limits of a scrollable area. |
STYLE_CLASS_PANE_SEPARATOR |
A CSS class for a pane separator, such as those in |
STYLE_CLASS_PAPER |
A CSS class that is added to areas that should look like paper. |
STYLE_CLASS_POPOVER |
A CSS class that matches popovers. |
STYLE_CLASS_POPUP |
A CSS class that is added to the toplevel windows used for menus. |
STYLE_CLASS_PRIMARY_TOOLBAR |
A CSS class to match primary toolbars. |
STYLE_CLASS_PROGRESSBAR |
A CSS class to use when rendering activity as a progressbar. |
STYLE_CLASS_PULSE |
A CSS class to use when rendering a pulse in an indeterminate progress bar. |
STYLE_CLASS_QUESTION |
A CSS class for an area displaying a question to the user, such as those in infobars. |
STYLE_CLASS_RADIO |
A CSS class to match radio buttons. |
STYLE_CLASS_RAISED |
A CSS class to match a raised control, such as a raised button on a toolbar. |
STYLE_CLASS_READ_ONLY |
A CSS class used to indicate a read-only state. |
STYLE_CLASS_RIGHT |
A CSS class to indicate an area at the right of a widget. |
STYLE_CLASS_RUBBERBAND |
A CSS class to match the rubberband selection rectangle. |
STYLE_CLASS_SCALE |
A CSS class to match scale widgets. |
STYLE_CLASS_SCALE_HAS_MARKS_ABOVE |
A CSS class to match scale widgets with marks attached,
all the marks are above for horizontal |
STYLE_CLASS_SCALE_HAS_MARKS_BELOW |
A CSS class to match scale widgets with marks attached,
all the marks are below for horizontal |
STYLE_CLASS_SCROLLBAR |
A CSS class to match scrollbars. |
STYLE_CLASS_SCROLLBARS_JUNCTION |
A CSS class to match the junction area between an horizontal and vertical scrollbar, when they’re both shown. |
STYLE_CLASS_SEPARATOR |
A CSS class for a separator. |
STYLE_CLASS_SIDEBAR |
A CSS class defining a sidebar, such as the left side in a file chooser. |
STYLE_CLASS_SLIDER |
A CSS class to match sliders. |
STYLE_CLASS_SPINBUTTON |
A CSS class defining an spinbutton. |
STYLE_CLASS_SPINNER |
A CSS class to use when rendering activity as a “spinner”. |
STYLE_CLASS_STATUSBAR |
A CSS class to match statusbars. |
STYLE_CLASS_SUBTITLE |
A CSS class used for the subtitle label in a titlebar in a toplevel window. |
STYLE_CLASS_SUGGESTED_ACTION |
A CSS class used when an action (usually a button) is the primary suggested action in a specific context. |
STYLE_CLASS_TITLE |
A CSS class used for the title label in a titlebar in a toplevel window. |
STYLE_CLASS_TITLEBAR |
A CSS class used when rendering a titlebar in a toplevel window. |
STYLE_CLASS_TOOLBAR |
A CSS class to match toolbars. |
STYLE_CLASS_TOOLTIP |
A CSS class to match tooltip windows. |
STYLE_CLASS_TOP |
A CSS class to indicate an area at the top of a widget. |
STYLE_CLASS_TOUCH_SELECTION |
A CSS class for touch selection popups on entries and text views. |
STYLE_CLASS_TROUGH |
A CSS class to match troughs, as in scrollbars and progressbars. |
STYLE_CLASS_UNDERSHOOT |
A CSS class that is added on the visual hints that happen where content is ‘scrolled off’ and can be made visible by scrolling. |
STYLE_CLASS_VERTICAL |
A CSS class for vertically layered widgets. |
STYLE_CLASS_VIEW |
A CSS class defining a view, such as iconviews or treeviews. |
STYLE_CLASS_WARNING |
A CSS class for an area displaying a warning message, such as those in infobars. |
STYLE_CLASS_WIDE |
A CSS class to indicate that a UI element should be ‘wide’.
Used by |
STYLE_PROPERTY_BACKGROUND_COLOR |
A property holding the background color of rendered elements as a |
STYLE_PROPERTY_BACKGROUND_IMAGE |
A property holding the element’s background as a #cairo_pattern_t. |
STYLE_PROPERTY_BORDER_COLOR |
A property holding the element’s border color as a |
STYLE_PROPERTY_BORDER_RADIUS |
A property holding the rendered element’s border radius in pixels as a #gint. |
STYLE_PROPERTY_BORDER_STYLE |
A property holding the element’s border style as a |
STYLE_PROPERTY_BORDER_WIDTH |
A property holding the rendered element’s border width in pixels as
a |
STYLE_PROPERTY_COLOR |
A property holding the foreground color of rendered elements as a |
STYLE_PROPERTY_FONT |
A property holding the font properties used when rendering text
as a |
STYLE_PROPERTY_MARGIN |
A property holding the rendered element’s margin as a |
STYLE_PROPERTY_PADDING |
A property holding the rendered element’s padding as a |
STYLE_PROVIDER_PRIORITY_APPLICATION |
A priority that can be used when adding a |
STYLE_PROVIDER_PRIORITY_FALLBACK |
The priority used for default style information that is used in the absence of themes. |
STYLE_PROVIDER_PRIORITY_SETTINGS |
The priority used for style information provided
via |
STYLE_PROVIDER_PRIORITY_THEME |
The priority used for style information provided by themes. |
STYLE_PROVIDER_PRIORITY_USER |
The priority used for the style information from
|
STYLE_REGION_COLUMN |
A widget region name to define a treeview column. deprecated: 3.20 |
STYLE_REGION_COLUMN_HEADER |
A widget region name to define a treeview column header. deprecated: 3.20 |
STYLE_REGION_ROW |
A widget region name to define a treeview row. deprecated: 3.20 |
STYLE_REGION_TAB |
A widget region name to define a notebook tab. deprecated: 3.20 |
TEXT_VIEW_PRIORITY_VALIDATE |
The priority at which the text view validates onscreen lines in an idle job in the background. |
TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID |
The GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID can be used to make a
|
TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID |
The GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID can be used to make a
|