Namespace
Gtk – 4.0
The GTK toolkit
Dependencies
Gdk—4.0 | The GTK windowing system abstraction |
Browse documentation | |
Gsk—4.0 | The GTK rendering abstraction |
Browse documentation |
Related libraries
GObject | The base type system library |
Browse documentation | |
GIO | GObject Interfaces and Objects, Networking, IPC, and I/O |
Browse documentation | |
Graphene | A thin layer of mathematical types for 3D libraries |
Browse documentation | |
Pango | Text shaping and rendering |
Browse documentation |
Additional documentation
- Overview
- Getting Started with GTK
- Building GTK
- Compiling GTK Applications on UNIX
- Running and debugging GTK Applications
- Common Questions
- Contact information and bug reports
- Initializing GTK
- Overview of actions in GTK
- Overview of GTK input and event handling
- Drag-and-Drop in GTK
- Overview of the drawing model
- Coordinate systems in GTK
- CSS in GTK
- GTK CSS Properties
- GTK Accessibility
- List Widget Overview
- Text Widget Overview
- Tree and List Widget Overview
- Migrating from GTK 2.x to GTK 4
- Migrating from GTK 3.x to GTK 4
- The Broadway windowing system
- Using GTK on Apple macOS
- Using GTK with Wayland
- Using GTK on Windows
- Using GTK with X11
- Widget Gallery
- Classes Hierarchy
Classes
AboutDialog |
The since: 4.0 |
ActionBar |
since: 4.0 |
ActivateAction |
A since: 4.0 |
Adjustment |
since: 4.0 |
AlertDialog |
A since: 4.10 |
AlternativeTrigger |
A since: 4.0 |
AnyFilter |
since: 4.0 |
AppChooserButton |
The deprecated: 4.10 since: 4.0 |
AppChooserDialog |
deprecated: 4.10 since: 4.0 |
AppChooserWidget |
deprecated: 4.10 since: 4.0 |
Application |
since: 4.0 |
ApplicationWindow |
since: 4.0 |
AspectFrame |
since: 4.0 |
Assistant |
deprecated: 4.10 since: 4.0 |
AssistantPage |
deprecated: 4.10 since: 4.0 |
ATContext |
since: 4.0 |
BinLayout |
since: 4.0 |
BookmarkList |
since: 4.0 |
BoolFilter |
since: 4.0 |
Box |
The since: 4.0 |
BoxLayout |
since: 4.0 |
Builder |
A since: 4.0 |
BuilderCScope |
A since: 4.0 |
BuilderListItemFactory |
since: 4.0 |
Button |
The since: 4.0 |
Calendar |
since: 4.0 |
CallbackAction |
A since: 4.0 |
CClosureExpression |
A variant of since: 4.0 |
CellArea |
An abstract class for laying out deprecated: 4.10 since: 4.0 |
CellAreaBox |
A cell area that renders GtkCellRenderers into a row or a column. deprecated: 4.10 since: 4.0 |
CellAreaContext |
Stores geometrical information for a series of rows in a GtkCellArea. deprecated: 4.10 since: 4.0 |
CellRenderer |
An object for rendering a single cell. deprecated: 4.10 since: 4.0 |
CellRendererAccel |
Renders a keyboard accelerator in a cell. deprecated: 4.10 since: 4.0 |
CellRendererCombo |
Renders a combobox in a cell. deprecated: 4.10 since: 4.0 |
CellRendererPixbuf |
Renders a pixbuf in a cell. deprecated: 4.10 since: 4.0 |
CellRendererProgress |
Renders numbers as progress bars. deprecated: 4.10 since: 4.0 |
CellRendererSpin |
Renders a spin button in a cell. deprecated: 4.10 since: 4.0 |
CellRendererSpinner |
Renders a spinning animation in a cell. deprecated: 4.10 since: 4.0 |
CellRendererText |
Renders text in a cell. deprecated: 4.10 since: 4.0 |
CellRendererToggle |
Renders a toggle button in a cell. deprecated: 4.10 since: 4.0 |
CellView |
A widget displaying a single row of a GtkTreeModel. deprecated: 4.10 since: 4.0 |
CenterBox |
since: 4.0 |
CenterLayout |
since: 4.0 |
CheckButton |
A since: 4.0 |
ClosureExpression |
An expression using a custom since: 4.0 |
ColorButton |
The deprecated: 4.10 since: 4.0 |
ColorChooserDialog |
A dialog for choosing a color. deprecated: 4.10 since: 4.0 |
ColorChooserWidget |
The deprecated: 4.10 since: 4.0 |
ColorDialog |
A since: 4.10 |
ColorDialogButton |
The since: 4.10 |
ColumnView |
since: 4.0 |
ColumnViewCell |
since: 4.12 |
ColumnViewColumn |
since: 4.0 |
ColumnViewRow |
since: 4.12 |
ColumnViewSorter |
since: 4.10 |
ComboBox |
A deprecated: 4.10 since: 4.0 |
ComboBoxText |
A deprecated: 4.10 since: 4.0 |
ConstantExpression |
A constant value in a since: 4.0 |
Constraint |
since: 4.0 |
ConstraintGuide |
A since: 4.0 |
ConstraintLayout |
A layout manager using constraints to describe relations between widgets. since: 4.0 |
ConstraintLayoutChild |
since: 4.0 |
CssProvider |
since: 4.0 |
CustomFilter |
since: 4.0 |
CustomLayout |
since: 4.0 |
CustomSorter |
since: 4.0 |
Dialog |
Dialogs are a convenient way to prompt the user for a small amount of input. deprecated: 4.10 since: 4.0 |
DirectoryList |
since: 4.0 |
DragIcon |
since: 4.0 |
DragSource |
since: 4.0 |
DrawingArea |
since: 4.0 |
DropControllerMotion |
since: 4.0 |
DropDown |
since: 4.0 |
DropTarget |
since: 4.0 |
DropTargetAsync |
since: 4.0 |
EditableLabel |
A since: 4.0 |
EmojiChooser |
The since: 4.0 |
Entry |
since: 4.0 |
EntryBuffer |
A since: 4.0 |
EntryCompletion |
deprecated: 4.10 since: 4.0 |
EventController |
since: 4.0 |
EventControllerFocus |
since: 4.0 |
EventControllerKey |
since: 4.0 |
EventControllerLegacy |
since: 4.0 |
EventControllerMotion |
since: 4.0 |
EventControllerScroll |
since: 4.0 |
EveryFilter |
since: 4.0 |
Expander |
since: 4.0 |
Expression |
since: 4.0 |
FileChooserDialog |
deprecated: 4.10 since: 4.0 |
FileChooserNative |
deprecated: 4.10 since: 4.0 |
FileChooserWidget |
deprecated: 4.10 since: 4.0 |
FileDialog |
A since: 4.10 |
FileFilter |
since: 4.0 |
FileLauncher |
A since: 4.10 |
Filter |
A since: 4.0 |
FilterListModel |
since: 4.0 |
Fixed |
since: 4.0 |
FixedLayout |
since: 4.0 |
FixedLayoutChild |
since: 4.0 |
FlattenListModel |
since: 4.0 |
FlowBox |
A since: 4.0 |
FlowBoxChild |
since: 4.0 |
FontButton |
The deprecated: 4.10 since: 4.0 |
FontChooserDialog |
The deprecated: 4.10 since: 4.0 |
FontChooserWidget |
The deprecated: 4.10 since: 4.0 |
FontDialog |
A since: 4.10 |
FontDialogButton |
The since: 4.10 |
Frame |
since: 4.0 |
Gesture |
since: 4.0 |
GestureClick |
since: 4.0 |
GestureDrag |
since: 4.0 |
GestureLongPress |
since: 4.0 |
GesturePan |
since: 4.0 |
GestureRotate |
since: 4.0 |
GestureSingle |
since: 4.0 |
GestureStylus |
since: 4.0 |
GestureSwipe |
since: 4.0 |
GestureZoom |
since: 4.0 |
GLArea |
since: 4.0 |
GraphicsOffload |
A widget that allows to bypass gsk rendering for its child by passing the content directly to the compositor. since: 4.0 |
Grid |
since: 4.0 |
GridLayout |
since: 4.0 |
GridLayoutChild |
since: 4.0 |
GridView |
since: 4.0 |
HeaderBar |
since: 4.0 |
IconPaintable |
Contains information found when looking up an icon in since: 4.0 |
IconTheme |
since: 4.0 |
IconView |
deprecated: 4.10 since: 4.0 |
Image |
The since: 4.0 |
IMContext |
since: 4.0 |
IMContextSimple |
since: 4.0 |
IMMulticontext |
since: 4.0 |
InfoBar |
deprecated: 4.10 since: 4.0 |
Inscription |
since: 4.8 |
KeyvalTrigger |
A since: 4.0 |
Label |
The since: 4.0 |
LayoutChild |
since: 4.0 |
LayoutManager |
Layout managers are delegate classes that handle the preferred size and the allocation of a widget. since: 4.0 |
LevelBar |
since: 4.0 |
LinkButton |
A since: 4.0 |
ListBase |
since: 4.0 |
ListBox |
since: 4.0 |
ListBoxRow |
since: 4.0 |
ListHeader |
since: 4.12 |
ListItem |
since: 4.0 |
ListItemFactory |
A since: 4.0 |
ListStore |
A list-like data structure that can be used with the deprecated: 4.10 since: 4.0 |
ListView |
since: 4.0 |
LockButton |
deprecated: 4.10 since: 4.0 |
MapListModel |
A since: 4.0 |
MediaControls |
since: 4.0 |
MediaFile |
since: 4.0 |
MediaStream |
since: 4.0 |
MenuButton |
The since: 4.0 |
MessageDialog |
deprecated: 4.10 since: 4.0 |
MnemonicAction |
A since: 4.0 |
MnemonicTrigger |
A since: 4.0 |
MountOperation |
since: 4.0 |
MultiFilter |
since: 4.0 |
MultiSelection |
since: 4.0 |
MultiSorter |
since: 4.0 |
NamedAction |
A since: 4.0 |
NativeDialog |
Native dialogs are platform dialogs that don’t use since: 4.0 |
NeverTrigger |
A since: 4.0 |
NoSelection |
since: 4.0 |
Notebook |
since: 4.0 |
NotebookPage |
since: 4.0 |
NothingAction |
A since: 4.0 |
NumericSorter |
since: 4.0 |
ObjectExpression |
A since: 4.0 |
Overlay |
since: 4.0 |
OverlayLayout |
since: 4.0 |
OverlayLayoutChild |
since: 4.0 |
PadController |
since: 4.0 |
PageSetup |
A since: 4.0 |
PageSetupUnixDialog |
since: 4.0 |
Paned |
A widget with two panes, arranged either horizontally or vertically. since: 4.0 |
ParamSpecExpression |
A since: 4.0 |
PasswordEntry |
since: 4.0 |
PasswordEntryBuffer |
A since: 4.4 |
Picture |
The since: 4.0 |
Popover |
since: 4.0 |
PopoverMenu |
since: 4.0 |
PopoverMenuBar |
since: 4.0 |
PrintContext |
A since: 4.0 |
PrintDialog |
A unstable since: 4.14 |
Printer |
A since: 4.0 |
PrintJob |
A since: 4.0 |
PrintOperation |
since: 4.0 |
PrintSettings |
A since: 4.0 |
PrintUnixDialog |
since: 4.0 |
ProgressBar |
since: 4.0 |
PropertyExpression |
A since: 4.0 |
Range |
since: 4.0 |
RecentManager |
since: 4.0 |
Revealer |
A since: 4.0 |
Scale |
A since: 4.0 |
ScaleButton |
since: 4.0 |
Scrollbar |
The since: 4.0 |
ScrolledWindow |
since: 4.0 |
SearchBar |
since: 4.0 |
SearchEntry |
since: 4.0 |
SelectionFilterModel |
since: 4.0 |
Separator |
since: 4.0 |
Settings |
since: 4.0 |
Shortcut |
A since: 4.0 |
ShortcutAction |
since: 4.0 |
ShortcutController |
since: 4.0 |
ShortcutLabel |
since: 4.0 |
ShortcutsGroup |
A since: 4.0 |
ShortcutsSection |
A since: 4.0 |
ShortcutsShortcut |
A since: 4.0 |
ShortcutsWindow |
A since: 4.0 |
ShortcutTrigger |
since: 4.0 |
SignalAction |
A since: 4.0 |
SignalListItemFactory |
since: 4.0 |
SingleSelection |
since: 4.0 |
SizeGroup |
since: 4.0 |
SliceListModel |
since: 4.0 |
Snapshot |
since: 4.0 |
Sorter |
since: 4.0 |
SortListModel |
A since: 4.0 |
SpinButton |
A since: 4.0 |
Spinner |
A since: 4.0 |
Stack |
since: 4.0 |
StackPage |
since: 4.0 |
StackSidebar |
A since: 4.0 |
StackSwitcher |
The since: 4.0 |
Statusbar |
A deprecated: 4.10 since: 4.0 |
StringFilter |
since: 4.0 |
StringList |
since: 4.0 |
StringObject |
since: 4.0 |
StringSorter |
since: 4.0 |
StyleContext |
deprecated: 4.10 since: 4.0 |
Switch |
since: 4.0 |
Text |
The since: 4.0 |
TextBuffer |
Stores text and attributes for display in a since: 4.0 |
TextChildAnchor |
A since: 4.0 |
TextMark |
A since: 4.0 |
TextTag |
A tag that can be applied to text contained in a since: 4.0 |
TextTagTable |
The collection of tags in a since: 4.0 |
TextView |
A widget that displays the contents of a since: 4.0 |
ToggleButton |
A since: 4.0 |
Tooltip |
since: 4.0 |
TreeExpander |
since: 4.0 |
TreeListModel |
since: 4.0 |
TreeListRow |
since: 4.0 |
TreeListRowSorter |
since: 4.0 |
TreeModelFilter |
A deprecated: 4.10 since: 4.0 |
TreeModelSort |
A GtkTreeModel which makes an underlying tree model sortable. deprecated: 4.10 since: 4.0 |
TreeSelection |
The selection object for GtkTreeView. deprecated: 4.10 since: 4.0 |
TreeStore |
A tree-like data structure that can be used with the deprecated: 4.10 since: 4.0 |
TreeView |
A widget for displaying both trees and lists. deprecated: 4.10 since: 4.0 |
TreeViewColumn |
A visible column in a deprecated: 4.10 since: 4.0 |
UriLauncher |
A since: 4.10 |
Video |
since: 4.0 |
Viewport |
since: 4.0 |
VolumeButton |
deprecated: 4.10 since: 4.0 |
Widget |
The base class for all widgets. since: 4.0 |
WidgetPaintable |
since: 4.0 |
Window |
A since: 4.0 |
WindowControls |
since: 4.0 |
WindowGroup |
since: 4.0 |
WindowHandle |
since: 4.0 |
Interfaces
Accessible |
since: 4.0 |
AccessibleRange |
This interface describes ranged controls, e.g. controls which have a single value within an allowed range and that can optionally be changed by the user. since: 4.10 |
Actionable |
The since: 4.0 |
AppChooser |
deprecated: 4.10 since: 4.0 |
Buildable |
since: 4.0 |
BuilderScope |
since: 4.0 |
CellEditable |
Interface for widgets that can be used for editing cells. deprecated: 4.10 since: 4.0 |
CellLayout |
An interface for packing cells. deprecated: 4.10 since: 4.0 |
ColorChooser |
deprecated: 4.10 since: 4.0 |
ConstraintTarget |
The since: 4.0 |
Editable |
since: 4.0 |
FileChooser |
deprecated: 4.10 since: 4.0 |
FontChooser |
deprecated: 4.10 since: 4.0 |
Native |
since: 4.0 |
Orientable |
The since: 4.0 |
PrintOperationPreview |
since: 4.0 |
Root |
since: 4.0 |
Scrollable |
since: 4.0 |
SectionModel |
since: 4.12 |
SelectionModel |
since: 4.0 |
ShortcutManager |
The since: 4.0 |
StyleProvider |
since: 4.0 |
SymbolicPaintable |
since: 4.6 |
TreeDragDest |
Interface for Drag-and-Drop destinations in deprecated: 4.10 since: 4.0 |
TreeDragSource |
Interface for Drag-and-Drop destinations in deprecated: 4.10 since: 4.0 |
TreeModel |
The tree interface used by GtkTreeView. deprecated: 4.10 since: 4.0 |
TreeSortable |
The interface for sortable models used by GtkTreeView. deprecated: 4.10 since: 4.0 |
Structs
Bitset |
A since: 4.0 |
BitsetIter |
An opaque, stack-allocated struct for iterating
over the elements of a since: 4.0 |
Border |
A struct that specifies a border around a rectangular area. since: 4.0 |
BuildableParseContext |
An opaque context struct for since: 4.0 |
BuildableParser |
A sub-parser for since: 4.0 |
CssLocation |
since: 4.0 |
CssSection |
Defines a part of a CSS document. since: 4.0 |
CssStyleChange |
since: 4.0 |
ExpressionWatch |
An opaque structure representing a watched since: 4.0 |
PadActionEntry |
Struct defining a pad action entry. since: 4.0 |
PageRange |
A range of pages to print. since: 4.0 |
PaperSize |
since: 4.0 |
PrintBackend |
since: 4.0 |
PrintSetup |
A since: 4.0 |
RecentData |
Meta-data to be passed to since: 4.0 |
RecentInfo |
since: 4.0 |
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 since: 4.0 |
Requisition |
A since: 4.0 |
ScrollInfo |
The since: 4.12 |
TextIter |
An iterator for the contents of a since: 4.0 |
TreeIter |
The deprecated: 4.10 since: 4.0 |
TreePath |
An opaque structure representing a path to a row in a model. deprecated: 4.10 since: 4.0 |
TreeRowReference |
A GtkTreeRowReference tracks model changes so that it always refers to the
same row (a deprecated: 4.10 since: 4.0 |
Aliases
Allocation |
The rectangle representing the area allocated for a widget by its parent. since: 4.0 |
Enumerations
AccessibleAutocomplete |
The possible values for the since: 4.0 |
AccessibleInvalidState |
The possible values for the since: 4.0 |
AccessiblePlatformState |
The various platform states which can be queried
using since: 4.10 |
AccessibleProperty |
The possible accessible properties of a since: 4.0 |
AccessibleRelation |
The possible accessible relations of a since: 4.0 |
AccessibleRole |
The accessible role for a since: 4.0 |
AccessibleSort |
The possible values for the since: 4.0 |
AccessibleState |
The possible accessible states of a since: 4.0 |
AccessibleTristate |
The possible values for the since: 4.0 |
Align |
Controls how a widget deals with extra space in a single dimension. since: 4.0 |
ArrowType |
Used to indicate the direction in which an arrow should point. since: 4.0 |
AssistantPageType |
Determines the page role inside a since: 4.0 |
BaselinePosition |
Baseline position in a row of widgets. since: 4.0 |
BorderStyle |
Describes how the border of a UI element should be rendered. since: 4.0 |
ButtonsType |
Prebuilt sets of buttons for since: 4.0 |
CellRendererAccelMode |
The available modes for since: 4.0 |
CellRendererMode |
Identifies how the user can interact with a particular cell. since: 4.0 |
Collation |
Describes how a since: 4.10 |
ConstraintAttribute |
The widget attributes that can be used when creating a since: 4.0 |
ConstraintRelation |
The relation between two terms of a constraint. since: 4.0 |
ConstraintStrength |
The strength of a constraint, expressed as a symbolic constant. since: 4.0 |
ContentFit |
Controls how a content should be made to fit inside an allocation. since: 4.8 |
CornerType |
Specifies which corner a child widget should be placed in when packed into
a since: 4.0 |
CssParserWarning |
Warnings that can occur while parsing CSS. since: 4.0 |
DeleteType |
Passed to various keybinding signals for deleting text. since: 4.0 |
DirectionType |
Focus movement types. since: 4.0 |
EditableProperties |
The identifiers for since: 4.0 |
EntryIconPosition |
Specifies the side of the entry at which an icon is placed. since: 4.0 |
EventSequenceState |
Describes the state of a since: 4.0 |
FileChooserAction |
Describes whether a since: 4.0 |
FilterChange |
Describes changes in a filter in more detail and allows objects using the filter to optimize refiltering items. since: 4.0 |
FilterMatch |
Describes the known strictness of a filter. since: 4.0 |
FontLevel |
The level of granularity for the font selection. since: 4.10 |
GraphicsOffloadEnabled |
since: 4.0 |
IconSize |
Built-in icon sizes. since: 4.0 |
IconViewDropPosition |
An enum for determining where a dropped item goes. since: 4.0 |
ImageType |
Describes the image data representation used by a since: 4.0 |
InputPurpose |
Describes primary purpose of the input widget. since: 4.0 |
InscriptionOverflow |
The different methods to handle text in since: 4.8 |
Justification |
Used for justifying the text inside a since: 4.0 |
LevelBarMode |
Describes how since: 4.0 |
License |
The type of license for an application. since: 4.0 |
ListTabBehavior |
Used to configure the focus behavior in the since: 4.12 |
MessageType |
The type of message being displayed in a since: 4.0 |
MovementStep |
Passed as argument to various keybinding signals for moving the cursor position. since: 4.0 |
NaturalWrapMode |
Options for selecting a different wrap mode for natural size requests. since: 4.6 |
NotebookTab |
The parameter used in the action signals of since: 4.0 |
NumberUpLayout |
Used to determine the layout of pages on a sheet when printing multiple pages per sheet. since: 4.0 |
Ordering |
Describes the way two values can be compared. since: 4.0 |
Orientation |
Represents the orientation of widgets and other objects. since: 4.0 |
Overflow |
Defines how content overflowing a given area should be handled. since: 4.0 |
PackType |
Represents the packing location of a children in its parent. since: 4.0 |
PadActionType |
The type of a pad action. since: 4.0 |
PageOrientation |
See also gtk_print_settings_set_orientation(). since: 4.0 |
PageSet |
See also gtk_print_job_set_page_set(). since: 4.0 |
PanDirection |
Describes the panning direction of a since: 4.0 |
PolicyType |
Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars. since: 4.0 |
PositionType |
Describes which edge of a widget a certain feature is positioned at. since: 4.0 |
PrintDuplex |
See also gtk_print_settings_set_duplex(). since: 4.0 |
PrintOperationAction |
Determines what action the print operation should perform. since: 4.0 |
PrintOperationResult |
The result of a print operation. since: 4.0 |
PrintPages |
See also since: 4.0 |
PrintQuality |
See also gtk_print_settings_set_quality(). since: 4.0 |
PrintStatus |
The status gives a rough indication of the completion of a running print operation. since: 4.0 |
PropagationLimit |
Describes limits of a since: 4.0 |
PropagationPhase |
Describes the stage at which events are fed into a since: 4.0 |
ResponseType |
Predefined values for use as response ids in gtk_dialog_add_button(). since: 4.0 |
RevealerTransitionType |
These enumeration values describe the possible transitions
when the child of a since: 4.0 |
ScrollablePolicy |
Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation. since: 4.0 |
ScrollStep |
Passed as argument to various keybinding signals. since: 4.0 |
ScrollType |
Scrolling types. since: 4.0 |
SelectionMode |
Used to control what selections users are allowed to make. since: 4.0 |
SensitivityType |
Determines how GTK handles the sensitivity of various controls, such as combo box buttons. since: 4.0 |
ShortcutScope |
Describes where since: 4.0 |
ShortcutType |
GtkShortcutType specifies the kind of shortcut that is being described. since: 4.0 |
SizeGroupMode |
The mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets. since: 4.0 |
SizeRequestMode |
Specifies a preference for height-for-width or width-for-height geometry management. since: 4.0 |
SorterChange |
Describes changes in a sorter in more detail and allows users to optimize resorting. since: 4.0 |
SorterOrder |
Describes the type of order that a since: 4.0 |
SortType |
Determines the direction of a sort. since: 4.0 |
SpinButtonUpdatePolicy |
Determines whether the spin button displays values outside the adjustment bounds. since: 4.0 |
SpinType |
The values of the GtkSpinType enumeration are used to specify the change to make in gtk_spin_button_spin(). since: 4.0 |
StackTransitionType |
Possible transitions between pages in a since: 4.0 |
StringFilterMatchMode |
Specifies how search strings are matched inside text. since: 4.0 |
SymbolicColor |
The indexes of colors passed to symbolic color rendering, such as
since: 4.6 |
SystemSetting |
Values that can be passed to the since: 4.0 |
TextDirection |
Reading directions for text. since: 4.0 |
TextExtendSelection |
Granularity types that extend the text selection. Use the
since: 4.0 |
TextViewLayer |
Used to reference the layers of since: 4.0 |
TextWindowType |
Used to reference the parts of since: 4.0 |
TreeViewColumnSizing |
The sizing method the column uses to determine its width. Please note
that since: 4.0 |
TreeViewDropPosition |
An enum for determining where a dropped row goes. since: 4.0 |
TreeViewGridLines |
Used to indicate which grid lines to draw in a tree view. since: 4.0 |
Unit |
See also gtk_print_settings_set_paper_width(). since: 4.0 |
WrapMode |
Describes a type of line wrapping. since: 4.0 |
Bitfields
ApplicationInhibitFlags |
Types of user actions that may be blocked by since: 4.0 |
BuilderClosureFlags |
The list of flags that can be passed to gtk_builder_create_closure(). since: 4.0 |
CellRendererState |
Tells how a cell is to be rendered. since: 4.0 |
DebugFlags |
Flags to use with gtk_set_debug_flags(). since: 4.0 |
DialogFlags |
Flags used to influence dialog construction. since: 4.0 |
EventControllerScrollFlags |
Describes the behavior of a since: 4.0 |
FontChooserLevel |
Specifies the granularity of font selection
that is desired in a since: 4.0 |
IconLookupFlags |
Used to specify options for gtk_icon_theme_lookup_icon(). since: 4.0 |
InputHints |
Describes hints that might be taken into account by input methods or applications. since: 4.0 |
ListScrollFlags |
List of actions to perform when scrolling to items in a list widget. since: 4.12 |
PickFlags |
Flags that influence the behavior of since: 4.0 |
PopoverMenuFlags |
Flags that affect how since: 4.0 |
PrintCapabilities |
Specifies which features the print dialog should offer. since: 4.0 |
ShortcutActionFlags |
List of flags that can be passed to action activation. since: 4.0 |
StateFlags |
Describes a widget state. since: 4.0 |
StyleContextPrintFlags |
Flags that modify the behavior of gtk_style_context_to_string(). since: 4.0 |
TextSearchFlags |
Flags affecting how a search is done. since: 4.0 |
TreeModelFlags |
These flags indicate various properties of a deprecated: 4.10 since: 4.0 |
Error Domains
BuilderError |
Error codes that identify various errors that can occur while using
since: 4.0 |
ConstraintVflParserError |
Domain for VFL parsing errors. since: 4.0 |
CssParserError |
Errors that can occur while parsing CSS. since: 4.0 |
DialogError |
Error codes in the since: 4.10 |
FileChooserError |
These identify the various errors that can occur while calling
since: 4.0 |
IconThemeError |
Error codes for since: 4.0 |
PrintError |
Error codes that identify various errors that can occur while using the GTK printing support. since: 4.0 |
RecentManagerError |
Error codes for since: 4.0 |
Callbacks
AssistantPageFunc |
Type of callback used to calculate the next page in a since: 4.0 |
CellAllocCallback |
The type of the callback functions used for iterating over the
cell renderers and their allocated areas inside a since: 4.0 |
CellCallback |
The type of the callback functions used for iterating over
the cell renderers of a since: 4.0 |
CellLayoutDataFunc |
A function which should set the value of since: 4.0 |
CustomAllocateFunc |
A function to be used by since: 4.0 |
CustomFilterFunc |
User function that is called to determine if the since: 4.0 |
CustomMeasureFunc |
A function to be used by since: 4.0 |
CustomRequestModeFunc |
Queries a widget for its preferred size request mode. since: 4.0 |
DrawingAreaDrawFunc |
Whenever since: 4.0 |
EntryCompletionMatchFunc |
A function which decides whether the row indicated by since: 4.0 |
ExpressionNotify |
Callback called by since: 4.0 |
FlowBoxCreateWidgetFunc |
Called for flow boxes that are bound to a since: 4.0 |
FlowBoxFilterFunc |
A function that will be called whenever a child changes or is added. since: 4.0 |
FlowBoxForeachFunc |
A function used by gtk_flow_box_selected_foreach(). since: 4.0 |
FlowBoxSortFunc |
A function to compare two children to determine which should come first. since: 4.0 |
FontFilterFunc |
The type of function that is used for deciding what fonts get
shown in a since: 4.0 |
IconViewForeachFunc |
A function used by since: 4.0 |
ListBoxCreateWidgetFunc |
Called for list boxes that are bound to a since: 4.0 |
ListBoxFilterFunc |
Will be called whenever the row changes or is added and lets you control if the row should be visible or not. since: 4.0 |
ListBoxForeachFunc |
A function used by gtk_list_box_selected_foreach(). since: 4.0 |
ListBoxSortFunc |
Compare two rows to determine which should be first. since: 4.0 |
ListBoxUpdateHeaderFunc |
Whenever since: 4.0 |
MapListModelMapFunc |
User function that is called to map an since: 4.0 |
MenuButtonCreatePopupFunc |
User-provided callback function to create a popup for a
since: 4.0 |
PageSetupDoneFunc |
The type of function that is passed to gtk_print_run_page_setup_dialog_async(). since: 4.0 |
PrinterFunc |
The type of function passed to gtk_enumerate_printers(). since: 4.0 |
PrintJobCompleteFunc |
The type of callback that is passed to gtk_print_job_send(). since: 4.0 |
PrintSettingsFunc |
since: 4.0 |
ScaleFormatValueFunc |
since: 4.0 |
ShortcutFunc |
Prototype for shortcuts based on user callbacks. since: 4.0 |
TextCharPredicate |
The predicate function used by since: 4.0 |
TextTagTableForeach |
A function used with gtk_text_tag_table_foreach(),
to iterate over every since: 4.0 |
TickCallback |
Callback type for adding a function to update animations. See gtk_widget_add_tick_callback(). since: 4.0 |
TreeCellDataFunc |
A function to set the properties of a cell instead of just using the straight mapping between the cell and the model. since: 4.0 |
TreeIterCompareFunc |
A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive
integer if since: 4.0 |
TreeListModelCreateModelFunc |
Prototype of the function called to create new child models when
since: 4.0 |
TreeModelFilterModifyFunc |
A function which calculates display values from raw values in the model.
It must fill since: 4.0 |
TreeModelFilterVisibleFunc |
A function which decides whether the row indicated by since: 4.0 |
TreeModelForeachFunc |
Type of the callback passed to since: 4.0 |
TreeSelectionForeachFunc |
A function used by since: 4.0 |
TreeSelectionFunc |
A function used by since: 4.0 |
TreeViewColumnDropFunc |
Function type for determining whether since: 4.0 |
TreeViewMappingFunc |
Function used for gtk_tree_view_map_expanded_rows(). since: 4.0 |
TreeViewRowSeparatorFunc |
Function type for determining whether the row pointed to by since: 4.0 |
TreeViewSearchEqualFunc |
A function used for checking whether a row in since: 4.0 |
WidgetActionActivateFunc |
The type of the callback functions used for activating actions installed with gtk_widget_class_install_action(). since: 4.0 |
Functions
accelerator_get_default_mod_mask |
Gets the modifier mask. since: 4.0 |
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: 4.0 |
accelerator_get_label_with_keycode |
Converts an accelerator keyval and modifier mask into a string that can be displayed to the user. since: 4.0 |
accelerator_name |
Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse(). since: 4.0 |
accelerator_name_with_keycode |
Converts an accelerator keyval and modifier mask into a string parseable by gtk_accelerator_parse_with_keycode(). since: 4.0 |
accelerator_parse |
Parses a string representing an accelerator. since: 4.0 |
accelerator_parse_with_keycode |
Parses a string representing an accelerator. since: 4.0 |
accelerator_valid |
Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator. since: 4.0 |
check_version |
Checks that the GTK library in use is compatible with the given version. since: 4.0 |
css_parser_error_quark |
since: 4.0 |
css_parser_warning_quark |
since: 4.0 |
disable_setlocale |
Prevents since: 4.0 |
distribute_natural_allocation |
Distributes since: 4.0 |
enumerate_printers |
Calls a function for all since: 4.0 |
get_binary_age |
Returns the binary age as passed to since: 4.0 |
get_debug_flags |
Returns the GTK debug flags that are currently active. since: 4.0 |
get_default_language |
Returns the since: 4.0 |
get_interface_age |
Returns the interface age as passed to since: 4.0 |
get_locale_direction |
Get the direction of the current locale. This is the expected reading direction for text and UI. since: 4.0 |
get_major_version |
Returns the major version number of the GTK library. since: 4.0 |
get_micro_version |
Returns the micro version number of the GTK library. since: 4.0 |
get_minor_version |
Returns the minor version number of the GTK library. since: 4.0 |
hsv_to_rgb |
Converts a color from HSV space to RGB. since: 4.0 |
init |
Call this function before using any other GTK functions in your GUI applications. It will initialize everything needed to operate the toolkit. since: 4.0 |
init_check |
This function does the same work as since: 4.0 |
is_initialized |
Use this function to check if GTK has been initialized. since: 4.0 |
param_spec_expression |
Creates a new since: 4.0 |
print_run_page_setup_dialog |
Runs a page setup dialog, letting the user modify the values from
since: 4.0 |
print_run_page_setup_dialog_async |
Runs a page setup dialog, letting the user modify the values from since: 4.0 |
render_activity |
Renders an activity indicator (such as in deprecated: 4.10 since: 4.0 |
render_arrow |
Renders an arrow pointing to deprecated: 4.10 since: 4.0 |
render_background |
Renders the background of an element. deprecated: 4.10 since: 4.0 |
render_check |
Renders a checkmark (as in a deprecated: 4.10 since: 4.0 |
render_expander |
Renders an expander (as used in deprecated: 4.10 since: 4.0 |
render_focus |
Renders a focus indicator on the rectangle determined by deprecated: 4.10 since: 4.0 |
render_frame |
Renders a frame around the rectangle defined by deprecated: 4.10 since: 4.0 |
render_handle |
Renders a handle (as in deprecated: 4.10 since: 4.0 |
render_icon |
Renders the icon in deprecated: 4.10 since: 4.0 |
render_layout |
Renders deprecated: 4.10 since: 4.0 |
render_line |
Renders a line from (x0, y0) to (x1, y1). deprecated: 4.10 since: 4.0 |
render_option |
Renders an option mark (as in a radio button), the deprecated: 4.10 since: 4.0 |
rgb_to_hsv |
Converts a color from RGB space to HSV. since: 4.0 |
set_debug_flags |
Sets the GTK debug flags. since: 4.0 |
show_about_dialog |
A convenience function for showing an application’s about dialog. since: 4.0 |
show_uri |
This function launches the default application for showing a given uri, or shows an error dialog if that fails. deprecated: 4.10 since: 4.0 |
show_uri_full |
This function launches the default application for showing a given uri. deprecated: 4.10 since: 4.0 |
show_uri_full_finish |
Finishes the deprecated: 4.10 since: 4.0 |
test_accessible_assertion_message_role |
since: 4.0 |
test_accessible_check_property |
Checks whether the accessible since: 4.0 |
test_accessible_check_relation |
Checks whether the accessible since: 4.0 |
test_accessible_check_state |
Checks whether the accessible since: 4.0 |
test_accessible_has_property |
Checks whether the since: 4.0 |
test_accessible_has_relation |
Checks whether the since: 4.0 |
test_accessible_has_role |
Checks whether the since: 4.0 |
test_accessible_has_state |
Checks whether the since: 4.0 |
test_init |
This function is used to initialize a GTK test program. since: 4.0 |
test_list_all_types |
Return the type ids that have been registered after calling gtk_test_register_all_types(). since: 4.0 |
test_register_all_types |
Force registration of all core GTK object types. since: 4.0 |
test_widget_wait_for_draw |
Enters the main loop and waits for since: 4.0 |
tree_create_row_drag_content |
Creates a content provider for dragging deprecated: 4.10 since: 4.0 |
tree_get_row_drag_data |
Obtains a deprecated: 4.10 since: 4.0 |
value_dup_expression |
Retrieves the since: 4.0 |
value_get_expression |
Retrieves the since: 4.0 |
value_set_expression |
Stores the given since: 4.0 |
value_take_expression |
Stores the given since: 4.0 |
Function Macros
builder_cscope_add_callback |
Adds the since: 4.8 |
BUILDER_WARN_INVALID_CHILD_TYPE |
This macro should be used to emit a warning about and unexpected since: 4.0 |
CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID |
This macro should be used to emit a standard warning about unexpected
properties in since: 4.0 |
CHECK_VERSION |
Returns since: 4.0 |
DEBUG_CHECK |
since: 4.0 |
test_accessible_assert_property |
Checks whether a since: 4.0 |
test_accessible_assert_relation |
Checks whether a since: 4.0 |
test_accessible_assert_role |
Checks whether a since: 4.0 |
test_accessible_assert_state |
Checks whether a since: 4.0 |
VALUE_HOLDS_EXPRESSION |
Evaluates to since: 4.0 |
widget_class_bind_template_callback |
Binds a callback function defined in a template to the since: 4.0 |
widget_class_bind_template_child |
Binds a child widget defined in a template to the since: 4.0 |
widget_class_bind_template_child_internal |
Binds a child widget defined in a template to the since: 4.0 |
widget_class_bind_template_child_internal_private |
Binds a child widget defined in a template to the since: 4.0 |
widget_class_bind_template_child_private |
Binds a child widget defined in a template to the since: 4.0 |
Constants
ACCESSIBLE_VALUE_UNDEFINED |
An undefined value. The accessible attribute is either unset, or its value is undefined. since: 4.0 |
BINARY_AGE |
Like since: 4.0 |
IM_MODULE_EXTENSION_POINT_NAME |
since: 4.0 |
INPUT_ERROR |
Constant to return from a signal handler for the ::input signal in case of conversion failure. since: 4.0 |
INTERFACE_AGE |
Like since: 4.0 |
INVALID_LIST_POSITION |
The value used to refer to a guaranteed invalid position
in a since: 4.0 |
LEVEL_BAR_OFFSET_FULL |
The name used for the stock full offset included by since: 4.0 |
LEVEL_BAR_OFFSET_HIGH |
The name used for the stock high offset included by since: 4.0 |
LEVEL_BAR_OFFSET_LOW |
The name used for the stock low offset included by since: 4.0 |
MAJOR_VERSION |
Like since: 4.0 |
MAX_COMPOSE_LEN |
since: 4.0 |
MEDIA_FILE_EXTENSION_POINT_NAME |
since: 4.0 |
MICRO_VERSION |
Like since: 4.0 |
MINOR_VERSION |
Like since: 4.0 |
PAPER_NAME_A3 |
Name for the A3 paper size. since: 4.0 |
PAPER_NAME_A4 |
Name for the A4 paper size. since: 4.0 |
PAPER_NAME_A5 |
Name for the A5 paper size. since: 4.0 |
PAPER_NAME_B5 |
Name for the B5 paper size. since: 4.0 |
PAPER_NAME_EXECUTIVE |
Name for the Executive paper size. since: 4.0 |
PAPER_NAME_LEGAL |
Name for the Legal paper size. since: 4.0 |
PAPER_NAME_LETTER |
Name for the Letter paper size. since: 4.0 |
PRINT_SETTINGS_COLLATE |
since: 4.0 |
PRINT_SETTINGS_DEFAULT_SOURCE |
since: 4.0 |
PRINT_SETTINGS_DITHER |
since: 4.0 |
PRINT_SETTINGS_DUPLEX |
since: 4.0 |
PRINT_SETTINGS_FINISHINGS |
since: 4.0 |
PRINT_SETTINGS_MEDIA_TYPE |
since: 4.0 |
PRINT_SETTINGS_N_COPIES |
since: 4.0 |
PRINT_SETTINGS_NUMBER_UP |
since: 4.0 |
PRINT_SETTINGS_NUMBER_UP_LAYOUT |
since: 4.0 |
PRINT_SETTINGS_ORIENTATION |
since: 4.0 |
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. since: 4.0 |
PRINT_SETTINGS_OUTPUT_BIN |
since: 4.0 |
PRINT_SETTINGS_OUTPUT_DIR |
The key used by the “Print to file” printer to store the directory to which the output should be written. since: 4.0 |
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”. since: 4.0 |
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. since: 4.0 |
PRINT_SETTINGS_PAGE_RANGES |
since: 4.0 |
PRINT_SETTINGS_PAGE_SET |
since: 4.0 |
PRINT_SETTINGS_PAPER_FORMAT |
since: 4.0 |
PRINT_SETTINGS_PAPER_HEIGHT |
since: 4.0 |
PRINT_SETTINGS_PAPER_WIDTH |
since: 4.0 |
PRINT_SETTINGS_PRINT_PAGES |
since: 4.0 |
PRINT_SETTINGS_PRINTER |
since: 4.0 |
PRINT_SETTINGS_PRINTER_LPI |
since: 4.0 |
PRINT_SETTINGS_QUALITY |
since: 4.0 |
PRINT_SETTINGS_RESOLUTION |
since: 4.0 |
PRINT_SETTINGS_RESOLUTION_X |
since: 4.0 |
PRINT_SETTINGS_RESOLUTION_Y |
since: 4.0 |
PRINT_SETTINGS_REVERSE |
since: 4.0 |
PRINT_SETTINGS_SCALE |
since: 4.0 |
PRINT_SETTINGS_USE_COLOR |
since: 4.0 |
PRINT_SETTINGS_WIN32_DRIVER_EXTRA |
since: 4.0 |
PRINT_SETTINGS_WIN32_DRIVER_VERSION |
since: 4.0 |
PRIORITY_RESIZE |
Use this priority for functionality related to size allocation. since: 4.0 |
STYLE_PROVIDER_PRIORITY_APPLICATION |
A priority that can be used when adding a since: 4.0 |
STYLE_PROVIDER_PRIORITY_FALLBACK |
The priority used for default style information that is used in the absence of themes. since: 4.0 |
STYLE_PROVIDER_PRIORITY_SETTINGS |
The priority used for style information provided
via since: 4.0 |
STYLE_PROVIDER_PRIORITY_THEME |
The priority used for style information provided by themes. since: 4.0 |
STYLE_PROVIDER_PRIORITY_USER |
The priority used for the style information from
since: 4.0 |
TEXT_VIEW_PRIORITY_VALIDATE |
The priority at which the text view validates onscreen lines in an idle job in the background. since: 4.0 |
TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID |
Uses the default sort function in a since: 4.0 |
TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID |
Disables sorting in a since: 4.0 |