gtk+-3.0
Description:
GTK+ is the primary library used to construct user interfaces in GNOME applications. It provides user interface controls and signal callbacks to control user interfaces.
- Home: https://www.gtk.org/
- C-Documentation: https://docs.gtk.org/gtk3/
- Devhelp-Package download
- Widget Gallery
- Example listing
Content:
Namespaces:
- Gtk
- Actionable - This interface provides a convenient way of associating widgets with actions on a ApplicationWindow or Application.
- Activatable - Activatable widgets can be connected to a Action and reflects the state of its action.
- AppChooser - AppChooser is an interface that can be implemented by widgets which allow the user to choose an application (typically for the purpose of opening a file).
- Buildable - GtkBuildable allows objects to extend and customize their deserialization from GtkBuilder UI descriptions.
- CellAccessibleParent
- CellEditable - The CellEditable interface must be implemented for widgets to be usable to edit the contents of a TreeView cell.
- CellLayout - CellLayout is an interface to be implemented by all objects which want to provide a TreeViewColumn like API for packing cells, setting attributes and data funcs.
- ColorChooser - ColorChooser is an interface that is implemented by widgets for choosing colors.
- Editable - The Editable interface is an interface which should be implemented by text editing widgets, such as Entry and SpinButton.
- FileChooser - FileChooser is an interface that can be implemented by file selection widgets.
- FontChooser - FontChooser is an interface that can be implemented by widgets displaying the list of fonts.
- Orientable - The Orientable interface is implemented by all widgets that can be oriented horizontally or vertically.
- PrintOperationPreview
- RecentChooser - RecentChooser is an interface that can be implemented by widgets displaying the list of recently used files.
- Scrollable - Scrollable is an interface that is implemented by widgets with native scrolling ability.
- StyleProvider - GtkStyleProvider is an interface used to provide style information to a StyleContext.
- ToolShell - The ToolShell interface allows container widgets to provide additional information when embedding ToolItem widgets.
- TreeDragDest
- TreeDragSource
- TreeModel - The TreeModel interface defines a generic tree interface for use by the TreeView widget.
- TreeSortable - TreeSortable is an interface to be implemented by tree models which support sorting.
- AboutDialog - The GtkAboutDialog offers a simple way to display information about a program like its logo, name, copyright, website and license.
- AccelGroup - A AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Window (with add_accel_group).
- AccelLabel - The AccelLabel widget is a subclass of Label that also displays an accelerator key on the right of the label text, e.
- AccelMap - Accelerator maps are used to define runtime configurable accelerators.
- Accessible - The Accessible class is the base class for accessible implementations for Widget subclasses.
- Action -
In GTK+ 3.10, GtkAction has been deprecated. Use Action instead, and associate actions with Actionable widgets. Use MenuModel for creating menus with Menu.from_model.
- ActionBar - GtkActionBar is designed to present contextual actions.
- ActionGroup - Actions are organised into groups.
- Adjustment - The Adjustment object represents a value which has an associated lower and upper bound, together with step and page increments, and a page size.
- Alignment - The Alignment widget controls the alignment and size of its child widget.
- AppChooserButton - The AppChooserButton is a widget that lets the user select an application.
- AppChooserDialog - AppChooserDialog shows a AppChooserWidget inside a Dialog.
- AppChooserWidget - AppChooserWidget is a widget for selecting applications.
- Application - Application is a class that handles many important aspects of a GTK+ application in a convenient fashion, without enforcing a one-size-fits-all application model.
- ApplicationWindow - ApplicationWindow is a Window subclass that offers some extra functionality for better integration with Application features.
- 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).
- ArrowAccessible
- AspectFrame - The AspectFrame is useful when you want pack a widget so that it can resize but always retains the same aspect ratio.
- Assistant - A Assistant is a widget used to represent a generally complex operation splitted in several steps, guiding the user through its pages and controlling the page flow to collect the necessary data.
- Bin - The Bin widget is a container with just one child.
- 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.
- BindingSignal - A GtkBindingSignal stores the necessary information to activate a widget in response to a key press via a signal emission.
- BooleanCellAccessible
- Box - The GtkBox widget arranges child widgets into a single row or column, depending upon the value of its orientation property.
- Builder - A GtkBuilder is an auxiliary object that reads textual descriptions of a user interface and instantiates the described objects.
- Button - The Button widget is generally used to trigger a callback function that is called when the button is pressed.
- ButtonAccessible
- ButtonBox -
- Calendar - Calendar is a widget that displays a Gregorian calendar, one month at a time.
- CellAccessible
- CellArea - The CellArea is an abstract class for CellLayout widgets (also referred to as "layouting widgets") to interface with an arbitrary number of CellRenderers and interact with the user for a given TreeModel row.
- CellAreaBox - The CellAreaBox renders cell renderers into a row or a column depending on its Orientation .
- CellAreaContext - The CellAreaContext object is created by a given CellArea implementation via its create_context virtual method and is used to store cell sizes and alignments for a series of TreeModel rows that are requested and rendered in the same context.
- CellRenderer - The CellRenderer is a base class of a set of objects used for rendering a cell to a Context.
- CellRendererAccel - CellRendererAccel displays a keyboard accelerator (i.
- CellRendererCombo - CellRendererCombo renders text in a cell like CellRendererText from which it is derived.
- CellRendererPixbuf - A CellRendererPixbuf can be used to render an image in a cell.
- CellRendererProgress - CellRendererProgress renders a numeric value as a progress par in a cell.
- CellRendererSpin - CellRendererSpin renders text in a cell like CellRendererText from which it is derived.
- CellRendererSpinner - GtkCellRendererSpinner renders a spinning animation in a cell, very similar to Spinner .
- CellRendererText - A CellRendererText renders a given text in its cell, using the font, color and style information provided by its properties.
- CellRendererToggle - CellRendererToggle renders a toggle button in a cell.
- CellView - A CellView displays a single row of a TreeModel using a CellArea and CellAreaContext.
- CheckButton - A CheckButton places a discrete ToggleButton next to a widget, (usually a Label).
- CheckMenuItem - A CheckMenuItem is a menu item that maintains the state of a boolean value in addition to a MenuItem usual role in activating application code.
- CheckMenuItemAccessible
- Clipboard - The Clipboard object represents a clipboard of data shared between different processes or between different widgets in the same process.
- ColorButton - The ColorButton is a button which displays the currently selected color and allows to open a color selection dialog to change the color.
- ColorChooserDialog - The ColorChooserDialog widget is a dialog for choosing a color.
- ColorChooserWidget - The ColorChooserWidget widget lets the user select a color.
- ColorSelection -
- ColorSelectionDialog -
- ComboBox - A GtkComboBox is a widget that allows the user to choose from a list of valid choices.
- ComboBoxAccessible
- ComboBoxText - A GtkComboBoxText is a simple variant of ComboBox that hides the model-view complexity for simple text-only use cases.
- Container - A GTK+ user interface is constructed by nesting widgets inside widgets.
- ContainerAccessible
- ContainerCellAccessible
- CssProvider - GtkCssProvider is an object implementing the StyleProvider interface.
- CssSection - Defines a part of a CSS document.
- Dialog - Dialog boxes are a convenient way to prompt the user for a small amount of input, e.
- DrawingArea - The DrawingArea widget is used for creating custom user interface elements.
- Entry - The Entry widget is a single line text entry widget.
- EntryAccessible
- EntryBuffer - The EntryBuffer class contains the actual text displayed in a Entry widget.
- EntryCompletion - EntryCompletion is an auxiliary object to be used in conjunction with Entry to provide the completion functionality.
- EntryIconAccessible
- EventBox - The EventBox widget is a subclass of Bin which also has its own window.
- EventController - EventController is a base, low-level implementation for event controllers.
- EventControllerKey - EventControllerKey is an event controller meant for situations where you need access to key events.
- EventControllerMotion - EventControllerMotion is an event controller meant for situations where you need to track the position of the pointer.
- EventControllerScroll - EventControllerScroll is an event controller meant to handle scroll events from mice and touchpads.
- Expander - A Expander allows the user to hide or show its child by clicking on an expander triangle similar to the triangles used in a TreeView.
- ExpanderAccessible
- FileChooserButton - The FileChooserButton is a widget that lets the user select a file.
- FileChooserDialog - FileChooserDialog is a dialog box suitable for use with “File/Open” or “File/Save as” commands.
- FileChooserNative - FileChooserNative is an abstraction of a dialog box suitable for use with “File/Open” or “File/Save as” commands.
- FileChooserWidget - FileChooserWidget is a widget for choosing files.
- FileChooserWidgetAccessible
- FileFilter - A GtkFileFilter can be used to restrict the files being shown in a FileChooser.
- FileFilterInfo - A FileFilterInfo-struct is used to pass information about the tested file to filter.
- Fixed - The Fixed widget is a container which can place child widgets at fixed positions and with fixed sizes, given in pixels.
- FixedChild
- FlowBox - A GtkFlowBox positions child widgets in sequence according to its orientation.
- FlowBoxAccessible
- FlowBoxChild
- FlowBoxChildAccessible
- FontButton - The FontButton is a button which displays the currently selected font an allows to open a font chooser dialog to change the font.
- FontChooserDialog - The FontChooserDialog widget is a dialog for selecting a font.
- FontChooserWidget - The FontChooserWidget widget lists the available fonts, styles and sizes, allowing the user to select a font.
- FontSelection -
- FontSelectionDialog
- Frame - The frame widget is a bin that surrounds its child with a decorative frame and an optional label.
- FrameAccessible
- GLArea - GLArea is a widget that allows drawing with OpenGL.
- Gesture - Gesture is the base object for gesture recognition, although this object is quite generalized to serve as a base for multi-touch gestures, it is suitable to implement single-touch and pointer-based gestures (using the special null EventSequence value for these).
- GestureDrag - GestureDrag is a Gesture implementation that recognizes drag operations.
- GestureLongPress - GestureLongPress is a Gesture implementation able to recognize long presses, triggering the pressed after the timeout is exceeded.
- GestureMultiPress - GestureMultiPress is a Gesture implementation able to recognize multiple clicks on a nearby zone, which can be listened for through the pressed signal.
- GesturePan - GesturePan is a Gesture implementation able to recognize pan gestures, those are drags that are locked to happen along one axis.
- GestureRotate - GestureRotate is a Gesture implementation able to recognize 2-finger rotations, whenever the angle between both handled sequences changes, the angle_changed signal is emitted.
- GestureSingle - GestureSingle is a subclass of Gesture, optimized (although not restricted) for dealing with mouse and single-touch gestures.
- GestureStylus - GestureStylus is a Gesture implementation specific to stylus input.
- GestureSwipe - GestureSwipe is a Gesture implementation able to recognize swipes, after a press/move/.../move/release sequence happens, the swipe signal will be emitted, providing the velocity and directionality of the sequence at the time it was lifted.
- GestureZoom - GestureZoom is a Gesture implementation able to recognize pinch/zoom gestures, whenever the distance between both tracked sequences changes, the scale_changed signal is emitted to report the scale factor.
- Gradient - GtkGradient is a boxed type that represents a gradient.
- Grid - GtkGrid is a container which arranges its child widgets in rows and columns, with arbitrary positions and horizontal/vertical spans.
- HBox - HBox is a container that organizes child widgets into a single row.
- HButtonBox -
- HPaned - The HPaned widget is a container widget with two children arranged horizontally.
- HSV - HSV is the “color wheel” part of a complete color selector widget.
- HScale - The HScale widget is used to allow the user to select a value using a horizontal slider.
- HScrollbar - The HScrollbar widget is a widget arranged horizontally creating a scrollbar.
- HSeparator - The HSeparator widget is a horizontal separator, used to group the widgets within a window.
- HandleBox - The HandleBox widget allows a portion of a window to be "torn off".
- HeaderBar - GtkHeaderBar is similar to a horizontal Box.
- HeaderBarAccessible
- IMContext - IMContext defines the interface for GTK+ input methods.
- IMContextSimple - GtkIMContextSimple is a simple input method context supporting table-based input methods.
- IMMulticontext
- IconFactory - An icon factory manages a collection of IconSet; a IconSet manages a set of variants of a particular icon (i.
- IconInfo - Contains information found when looking up an icon in an icon theme.
- IconSet
- IconSource
- IconTheme - IconTheme provides a facility for looking up icons by name and size.
- IconView - IconView provides an alternative view on a TreeModel.
- IconViewAccessible
- Image - The Image widget displays an image.
- ImageAccessible
- ImageCellAccessible
- ImageMenuItem - A GtkImageMenuItem is a menu item which has an icon next to the text label.
- InfoBar - InfoBar is a widget that can be used to show messages to the user without showing a dialog.
- Invisible - The Invisible widget is used internally in GTK+, and is probably not very useful for application developers.
- Label - The Label widget displays a small amount of text.
- LabelAccessible
- LabelSelectionInfo
- Layout - Layout is similar to DrawingArea in that it’s a “blank slate” and doesn’t do anything except paint a blank background by default.
- LevelBar - The LevelBar is a bar widget that can be used as a level indicator.
- LevelBarAccessible
- LinkButton - A GtkLinkButton is a Button with a hyperlink, similar to the one used by web browsers, which triggers an action when clicked.
- LinkButtonAccessible
- ListBox - A GtkListBox is a vertical container that contains GtkListBoxRow children.
- ListBoxAccessible
- ListBoxRow
- ListBoxRowAccessible
- ListStore - The ListStore object is a list model for use with a TreeView widget.
- 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.
- LockButtonAccessible
- Menu - A Menu is a MenuShell that implements a drop down menu consisting of a list of MenuItem objects which can be navigated and activated by the user to perform application functions.
- MenuAccessible
- MenuBar - The MenuBar is a subclass of MenuShell which contains one or more MenuItems.
- MenuButton - The MenuButton widget is used to display a popup when clicked on.
- MenuButtonAccessible
- MenuItem - The MenuItem widget and the derived widgets are the only valid children for menus.
- MenuItemAccessible
- MenuShell - A MenuShell is the abstract base class used to derive the Menu and MenuBar subclasses.
- MenuShellAccessible
- MenuToolButton - A MenuToolButton is a ToolItem that contains a button and a small additional button with an arrow.
- MessageDialog - MessageDialog presents a dialog with some message text.
- Misc - The Misc widget is an abstract widget which is not useful itself, but is used to derive subclasses which have alignment and padding attributes.
- ModelButton - GtkModelButton is a button class that can use a Action as its model.
- MountOperation - This should not be accessed directly.
- NativeDialog - Native dialogs are platform dialogs that don't use Dialog or Window.
- Notebook - The Notebook widget is a Container whose children are pages that can be switched between using tab labels along one edge.
- NotebookAccessible
- NotebookPageAccessible
- NumerableIcon - GtkNumerableIcon is a subclass of EmblemedIcon that can show a number or short string as an emblem.
- OffscreenWindow - GtkOffscreenWindow is strictly intended to be used for obtaining snapshots of widgets that are not part of a normal widget hierarchy.
- Overlay - GtkOverlay is a container which contains a single main child, on top of which it can place “overlay” widgets.
- PadController - PadController is an event controller for the pads found in drawing tablets (The collection of buttons and tactile sensors often found around the stylus-sensitive area).
- PageSetup - A GtkPageSetup object stores the page size, orientation and margins.
- Paned - Paned has two panes, arranged either horizontally or vertically.
- PanedAccessible
- PaperSize - GtkPaperSize handles paper sizes.
- PlacesSidebar - PlacesSidebar is a widget that displays a list of frequently-used places in the file system: the user’s home directory, the user’s bookmarks, and volumes and drives.
- Plug - Together with Socket, Plug provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user.
- PlugAccessible
- Popover - GtkPopover is a bubble-like context window, primarily meant to provide context-dependent information or options.
- PopoverAccessible
- PopoverMenu - GtkPopoverMenu is a subclass of Popover that treats its children like menus and allows switching between them.
- 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.
- PrintOperation - GtkPrintOperation is the high-level, portable printing API.
- PrintSettings - A GtkPrintSettings object represents the settings of a print dialog in a system-independent way.
- ProgressBar - The ProgressBar is typically used to display the progress of a long running operation.
- ProgressBarAccessible
- RadioAction - A RadioAction is similar to RadioMenuItem.
- RadioButton - A single radio button performs the same basic function as a CheckButton, as its position in the object hierarchy reflects.
- RadioButtonAccessible
- RadioMenuItem - A radio menu item is a check menu item that belongs to a group.
- RadioMenuItemAccessible
- RadioToolButton - A RadioToolButton is a ToolItem that contains a radio button, that is, a button that is part of a group of toggle buttons where only one button can be active at a time.
- Range - Range is the common base class for widgets which visualize an adjustment, e.
- RangeAccessible
- RcContext
- RcStyle - The RcStyle -struct is used to represent a set of information about the appearance of a widget.
- RecentAction - A RecentAction represents a list of recently used files, which can be shown by widgets such as RecentChooserDialog or RecentChooserMenu.
- RecentChooserDialog - RecentChooserDialog is a dialog box suitable for displaying the recently used documents.
- RecentChooserMenu - RecentChooserMenu is a widget suitable for displaying recently used files inside a menu.
- RecentChooserWidget - RecentChooserWidget is a widget suitable for selecting recently used files.
- RecentFilter - A RecentFilter can be used to restrict the files being shown in a RecentChooser.
- RecentInfo - RecentInfo -struct contains private data only, and should be accessed using the provided API.
- RecentManager - RecentManager provides a facility for adding, removing and looking up recently used files.
- 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.
- ScaleAccessible
- ScaleButton - ScaleButton provides a button which pops up a scale widget.
- ScaleButtonAccessible
- Scrollbar - The Scrollbar widget is a horizontal or vertical scrollbar, depending on the value of the orientation property.
- 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 - SearchBar is a container made to have a search entry (possibly with additional connex widgets, such as drop-down menus, or buttons) built-in.
- SearchEntry - SearchEntry is a subclass of Entry that has been tailored for use as a search entry.
- SelectionData
- Separator - GtkSeparator is a horizontal or vertical separator widget, depending on the value of the orientation property, used to group the widgets within a window.
- SeparatorMenuItem - The SeparatorMenuItem is a separator used to group items within a menu.
- SeparatorToolItem - A SeparatorToolItem is a ToolItem that separates groups of other ToolItems.
- Settings - GtkSettings provide a mechanism to share global settings between applications.
- ShortcutLabel - ShortcutLabel is a widget that represents a single keyboard shortcut or gesture in the user interface.
- ShortcutsGroup - A GtkShortcutsGroup represents a group of related keyboard shortcuts or gestures.
- ShortcutsSection - A GtkShortcutsSection collects all the keyboard shortcuts and gestures for a major application mode.
- ShortcutsShortcut - A GtkShortcutsShortcut represents a single keyboard shortcut or gesture with a short text.
- ShortcutsWindow - A GtkShortcutsWindow shows brief information about the keyboard shortcuts and gestures of an application.
- SizeGroup - SizeGroup provides a mechanism for grouping a number of widgets together so they all request the same amount of space.
- Socket - Together with Plug, Socket provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user.
- SocketAccessible
- SpinButton - A SpinButton is an ideal way to allow the user to set the value of some attribute.
- SpinButtonAccessible
- Spinner - A GtkSpinner widget displays an icon-size spinning animation.
- SpinnerAccessible
- Stack - The GtkStack widget is a container which only shows one of its children at a time.
- StackAccessible
- StackSidebar - A GtkStackSidebar enables you to quickly and easily provide a consistent "sidebar" object for your user interface.
- StackSwitcher - The GtkStackSwitcher widget acts as a controller for a Stack; it shows a row of buttons to switch between the various pages of the associated stack widget.
- StatusIcon - The “system tray” or notification area is normally used for transient icons that indicate some special state.
- Statusbar - A Statusbar is usually placed along the bottom of an application's main Window.
- StatusbarAccessible
- Style - A Style object encapsulates the information that provides the look and feel for a widget.
- StyleContext - StyleContext is an object that stores styling information affecting a widget defined by WidgetPath.
- StyleProperties - GtkStyleProperties provides the storage for style information that is used by StyleContext and other StyleProvider implementations.
- Switch - Switch is a widget that has two states: on or off.
- SwitchAccessible
- SymbolicColor - GtkSymbolicColor is a boxed type that represents a symbolic color.
- Table - The Table functions allow the programmer to arrange widgets in rows and columns, making it easy to align many widgets next to each other, horizontally and vertically.
- TargetList - A TargetList
-struct is a reference counted list of
GtkTargetPair
and should be treated as opaque. - TearoffMenuItem - A TearoffMenuItem is a special MenuItem which is used to tear off and reattach its menu.
- TextAttributes - Using TextAttributes directly should rarely be necessary.
- TextBTree
- TextBuffer - You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together.
- TextCellAccessible
- TextChildAnchor - A TextChildAnchor is a spot in the buffer where child widgets can be “anchored” (inserted inline, as if they were characters).
- TextMark - You may wish to begin by reading the text widget conceptual overview 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 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 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 which gives an overview of all the objects and data types related to the text widget and how they work together.
- TextViewAccessible
- ThemeEngine
- ThemingEngine - ThemingEngine was the object used for rendering themed content in GTK+ widgets.
- ToggleAction - A ToggleAction corresponds roughly to a CheckMenuItem .
- ToggleButton - A ToggleButton is a Button which will remain “pressed-in” when clicked.
- ToggleButtonAccessible
- ToggleToolButton - A ToggleToolButton is a ToolItem that contains a toggle button.
- ToolButton - ToolButton s are ToolItems containing buttons.
- ToolItem - ToolItems are widgets that can appear on a toolbar.
- ToolItemGroup - A ToolItemGroup is used together with ToolPalette to add ToolItems to a palette like container with different categories and drag and drop support.
- ToolPalette - A ToolPalette allows you to add ToolItems to a palette-like container with different categories and drag and drop support.
- Toolbar - A toolbar is created with a call to Toolbar.
- Tooltip - Basic tooltips can be realized simply by using set_tooltip_text or set_tooltip_markup without any explicit tooltip object.
- ToplevelAccessible
- TreeModelFilter - A TreeModelFilter is a tree model which wraps another tree model, and can do the following things:
- TreeModelSort - The TreeModelSort is a model which implements the TreeSortable interface.
- TreePath -
- TreeRowReference - A GtkTreeRowReference tracks model changes so that it always refers to the same row (a TreePath refers to a position, not a fixed row).
- TreeSelection - The TreeSelection object is a helper object to manage the selection for a TreeView widget.
- TreeStore - The TreeStore object is a list model for use with a TreeView widget.
- TreeView - Widget that displays any object that implements the TreeModel interface.
- TreeViewAccessible
- TreeViewColumn - The GtkTreeViewColumn object represents a visible column in a TreeView widget.
- UIManager - A UIManager constructs a user interface (menus and toolbars) from one or more UI definitions, which reference actions from one or more action groups.
- VBox - A VBox is a container that organizes child widgets into a single column.
- VButtonBox -
- VPaned - The VPaned widget is a container widget with two children arranged vertically.
- VScale - The VScale widget is used to allow the user to select a value using a vertical slider.
- VScrollbar - The VScrollbar widget is a widget arranged vertically creating a scrollbar.
- VSeparator - The VSeparator widget is a vertical separator, used to group the widgets within a window.
- Viewport - The Viewport widget acts as an adaptor class, implementing scrollability for child widgets that lack their own scrolling capabilities.
- VolumeButton - VolumeButton is a subclass of ScaleButton that has been tailored for use as a volume control widget with suitable icons, tooltips and accessible labels.
- Widget - GtkWidget is the base class all widgets in GTK+ derive from.
- WidgetAccessible
- WidgetPath - GtkWidgetPath is a boxed type that represents a widget hierarchy from the topmost widget, typically a toplevel, to any child.
- Window - A GtkWindow is a toplevel window which can contain other widgets.
- WindowAccessible
- WindowGeometryInfo
- WindowGroup - A WindowGroup restricts the effect of grabs to windows in the same group, thereby making window groups almost behave like separate applications.
- AccelGroupEntry
- AccelKey
- ActionEntry - ActionEntry structs are used with add_actions to construct actions.
- Allocation - A Allocation -struct of a widget represents region which has been allocated to the widget by its parent.
- BindingArg - A BindingArg holds the data associated with an argument for a key binding signal emission as stored in BindingSignal.
- Border - A struct that specifies a border around a rectangular area that can be of different width on each side.
- IMContextInfo - Bookkeeping information about a loadable input method.
- PadActionEntry - Struct defining a pad action entry.
- PageRange - See also set_page_ranges.
- RadioActionEntry - RadioActionEntry structs are used with add_radio_actions to construct groups of radio actions.
- RecentData - Meta-data to be passed to add_full when registering a recently used resource.
- RecentFilterInfo - A GtkRecentFilterInfo struct is used to pass information about the tested file to filter.
- RequestedSize - Represents a request of a screen object in a given orientation.
- Requisition - A Requisition -struct represents the desired size of a widget.
- SettingsValue
- StockItem
- TargetEntry - A TargetEntry represents a single type of data than can be supplied for by a widget for a selection or for supplied or received during drag-and-drop.
- TextAppearance
- TextIter - You may wish to begin by reading the text widget conceptual overview which gives an overview of all the objects and data types related to the text widget and how they work together.
- ToggleActionEntry - ToggleActionEntry structs are used with add_toggle_actions to construct toggle actions.
- TreeIter - The TreeIter is the primary structure for accessing a TreeModel.
- AccelFlags - Accelerator flags used with connect.
- Align - Controls how a widget deals with extra space in a single (x or y) dimension.
- ApplicationInhibitFlags - Types of user actions that may be blocked by inhibit.
- 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 Assistant.
- AttachOptions - Denotes the expansion properties that a widget will have when it (or its parent) is resized.
- BaselinePosition - Whenever a container has some form of natural row it may align children in that row along a common typographical baseline.
- BorderStyle - Describes how the border of a UI element should be rendered.
- ButtonBoxStyle - Used to dictate the style that a ButtonBox uses to layout the buttons it contains.
- ButtonRole - The role specifies the desired appearance of a ModelButton.
- ButtonsType - Prebuilt sets of buttons for the dialog.
- CalendarDisplayOptions - These options can be used to influence the display and behaviour of a Calendar.
- CellRendererAccelMode - Determines if the edited accelerators are GTK+ accelerators.
- CellRendererMode - Identifies how the user can interact with a particular cell.
- CellRendererState - Tells how a cell is to be rendered.
- CornerType - Specifies which corner a child widget should be placed in when packed into a ScrolledWindow.
- CssSectionType - The different types of sections indicate parts of a CSS document as parsed by GTK’s CSS parser.
- DebugFlag
- DeleteType - See also: delete_from_cursor.
- DestDefaults - The DestDefaults enumeration specifies the various types of action that will be taken on behalf of the user for a drag destination site.
- DialogFlags - Flags used to influence dialog construction.
- DirectionType - Focus movement types.
- DragResult - Gives an indication why a drag operation failed.
- EntryIconPosition - Specifies the side of the entry at which an icon is placed.
- EventControllerScrollFlags - Describes the behavior of a EventControllerScroll.
- EventSequenceState - Describes the state of a EventSequence in a Gesture.
- ExpanderStyle - Used to specify the style of the expanders drawn by a TreeView.
- FileChooserAction - Describes whether a FileChooser is being used to open existing files or to save to a possibly new file.
- FileChooserConfirmation - Used as a return value of handlers for the confirm_overwrite signal of a FileChooser.
- FileFilterFlags - These flags indicate what parts of a FileFilterInfo struct are filled or need to be filled.
- FontChooserLevel - This enumeration specifies the granularity of font selection that is desired in a font chooser.
- IMPreeditStyle - Style for input method preedit.
- IMStatusStyle - Style for input method status.
- IconLookupFlags - Used to specify options for lookup_icon
- 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 Image.
- InputHints - Describes hints that might be taken into account by input methods or applications.
- InputPurpose - Describes primary purpose of the input widget.
- JunctionSides - Describes how a rendered element connects to adjacent elements.
- Justification - Used for justifying the text inside a Label widget.
- LevelBarMode - Describes how LevelBar contents should be rendered.
- License - The type of license for an application.
- 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 Toolbar or GesturePan.
- PackDirection - Determines how widgets should be packed inside menubars and menuitems contained in menubars.
- PackType - Represents the packing location Box children.
- PadActionType - The type of a pad action.
- PageOrientation - See also set_orientation.
- PageSet - See also
gtk_print_job_set_page_set
. - PanDirection - Describes the panning direction of a GesturePan
- PathPriorityType - Priorities for path lookups.
- PathType - Widget path types.
- PlacesOpenFlags - These flags serve two purposes.
- 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.
- PositionType - Describes which edge of a widget a certain feature is positioned at, e.
- PrintDuplex - See also set_duplex.
- PrintOperationAction - The
action
parameter to run determines what action the print operation should perform. - PrintOperationResult - A value of this type is returned by run.
- PrintPages - See also
gtk_print_job_set_pages
- PrintQuality - See also 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 EventController.
- RcFlags - Deprecated
- RcTokenType - The RcTokenType enumeration represents the tokens in the RC file.
- RecentFilterFlags - These flags indicate what parts of a RecentFilterInfo struct are filled or need to be filled.
- RecentSortType - Used to specify the sorting method to be applyed to the recently used resource list.
- RegionFlags - Describes a region within a widget.
- ReliefStyle - Indicated the relief to be drawn around a Button.
- ResizeMode
- ResponseType - Predefined values for use as response ids in add_button.
- RevealerTransitionType - These enumeration values describe the possible transitions when the child of a Revealer widget is shown or hidden.
- ScrollStep
- ScrollType - Scrolling types.
- ScrollablePolicy - Defines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation.
- 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 Frame.
- ShortcutType - GtkShortcutType specifies the kind of shortcut that is being described.
- 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.
- SortColumn
- 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.
- SpinType - The values of the GtkSpinType enumeration are used to specify the change to make in spin.
- StackTransitionType - These enumeration values describe the possible transitions between pages in a Stack widget.
- StateFlags - Describes a widget state.
- StateType - This type indicates the current state of a widget; the state determines how the widget is drawn.
- StyleContextPrintFlags - Flags that modify the behavior of to_string.
- TargetFlags - The TargetFlags enumeration is used to specify constraints on a TargetEntry.
- TextBufferTargetInfo - These values are used as “info” for the targets contained in the lists returned by get_copy_target_list and get_paste_target_list.
- TextDirection - Reading directions for text.
- TextExtendSelection - Granularity types that extend the text selection.
- TextSearchFlags - Flags affecting how a search is done.
- TextViewLayer - Used to reference the layers of
TextView for the purpose of customized drawing with the
::draw_layer
vfunc. - TextWindowType - Used to reference the parts of TextView.
- ToolPaletteDragTargets - Flags used to specify the supported drag targets.
- ToolbarSpaceStyle - Whether spacers are vertical lines or just blank.
- ToolbarStyle - Used to customize the appearance of a Toolbar.
- TreeModelFlags - These flags indicate various properties of a TreeModel.
- TreeViewColumnSizing - The sizing method the column uses to determine its width.
- TreeViewDropPosition - An enum for determining where a dropped row goes.
- TreeViewGridLines - Used to indicate which grid lines to draw in a tree view.
- UIManagerItemType - These enumeration values are used by add_ui to determine what UI element to create.
- Unit - See also set_paper_width.
- WidgetHelpType - Kinds of widget-specific help.
- WindowPosition - Window placement can be influenced using this enumeration.
- WindowType - A Window can be one of these types.
- WrapMode - Describes a type of line wrapping.
- BuilderError - Error codes that identify various errors that can occur while using Builder.
- CssProviderError - Error codes for gtk_css_provider_error.
- FileChooserError - These identify the various errors that can occur while calling FileChooser functions.
- 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 RecentChooser functions.
- RecentManagerError - Error codes for RecentManager operations
- public const int BINARY_AGE
Like get_binary_age, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public const int INPUT_ERROR
Constant to return from a signal handler for the input signal in case of conversion failure.
- public const int INTERFACE_AGE
Like get_interface_age, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public const string LEVEL_BAR_OFFSET_FULL
The name used for the stock full offset included by LevelBar.
- public const string LEVEL_BAR_OFFSET_HIGH
The name used for the stock high offset included by LevelBar.
- public const string LEVEL_BAR_OFFSET_LOW
The name used for the stock low offset included by LevelBar.
- public const int MAJOR_VERSION
Like get_major_version, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public const int MAX_COMPOSE_LEN
The maximum length of sequences in compose tables.
- public const int MICRO_VERSION
Like get_micro_version, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public const int MINOR_VERSION
Like get_minor_version, but from the headers used at application compile time, rather than from the library linked against at application run time.
- public const string PAPER_NAME_A3
Name for the A3 paper size.
- public const string PAPER_NAME_A4
Name for the A4 paper size.
- public const string PAPER_NAME_A5
Name for the A5 paper size.
- public const string PAPER_NAME_B5
Name for the B5 paper size.
- public const string PAPER_NAME_EXECUTIVE
Name for the Executive paper size.
- public const string PAPER_NAME_LEGAL
Name for the Legal paper size.
- public const string PAPER_NAME_LETTER
Name for the Letter paper size.
- public const int PATH_PRIO_MASK
- public const string PRINT_SETTINGS_COLLATE
- public const string PRINT_SETTINGS_DEFAULT_SOURCE
- public const string PRINT_SETTINGS_DITHER
- public const string PRINT_SETTINGS_DUPLEX
- public const string PRINT_SETTINGS_FINISHINGS
- public const string PRINT_SETTINGS_MEDIA_TYPE
- public const string PRINT_SETTINGS_NUMBER_UP
- public const string PRINT_SETTINGS_NUMBER_UP_LAYOUT
- public const string PRINT_SETTINGS_N_COPIES
- public const string PRINT_SETTINGS_ORIENTATION
- public const string 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.
- public const string PRINT_SETTINGS_OUTPUT_BIN
- public const string PRINT_SETTINGS_OUTPUT_DIR
The key used by the “Print to file” printer to store the directory to which the output should be written.
- public const string PRINT_SETTINGS_OUTPUT_FILE_FORMAT
The key used by the “Print to file” printer to store the format of the output.
- public const string PRINT_SETTINGS_OUTPUT_URI
The key used by the “Print to file” printer to store the URI to which the output should be written.
- public const string PRINT_SETTINGS_PAGE_RANGES
- public const string PRINT_SETTINGS_PAGE_SET
- public const string PRINT_SETTINGS_PAPER_FORMAT
- public const string PRINT_SETTINGS_PAPER_HEIGHT
- public const string PRINT_SETTINGS_PAPER_WIDTH
- public const string PRINT_SETTINGS_PRINTER
- public const string PRINT_SETTINGS_PRINTER_LPI
- public const string PRINT_SETTINGS_PRINT_PAGES
- public const string PRINT_SETTINGS_QUALITY
- public const string PRINT_SETTINGS_RESOLUTION
- public const string PRINT_SETTINGS_RESOLUTION_X
- public const string PRINT_SETTINGS_RESOLUTION_Y
- public const string PRINT_SETTINGS_REVERSE
- public const string PRINT_SETTINGS_SCALE
- public const string PRINT_SETTINGS_USE_COLOR
- public const string PRINT_SETTINGS_WIN32_DRIVER_EXTRA
- public const string PRINT_SETTINGS_WIN32_DRIVER_VERSION
- public const int PRIORITY_RESIZE
Use this priority for functionality related to size allocation.
- public const string STYLE_CLASS_ACCELERATOR
A CSS class to match an accelerator.
- public const string STYLE_CLASS_ARROW
A CSS class used when rendering an arrow element.
- public const string STYLE_CLASS_BACKGROUND
A CSS class to match the window background.
- public const string STYLE_CLASS_BOTTOM
A CSS class to indicate an area at the bottom of a widget.
- public const string STYLE_CLASS_BUTTON
A CSS class to match buttons.
- public const string STYLE_CLASS_CALENDAR
A CSS class to match calendars.
- public const string STYLE_CLASS_CELL
A CSS class to match content rendered in cell views.
- public const string STYLE_CLASS_CHECK
A CSS class to match check boxes.
- public const string STYLE_CLASS_COMBOBOX_ENTRY
A CSS class to match combobox entries.
- public const string STYLE_CLASS_CONTEXT_MENU
A CSS class to match context menus.
- public const string STYLE_CLASS_CSD
A CSS class that gets added to windows which have client-side decorations.
- public const string STYLE_CLASS_CURSOR_HANDLE
A CSS class used when rendering a drag handle for text selection.
- public const string STYLE_CLASS_DEFAULT
A CSS class to match the default widget.
- public const string 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.
- public const string STYLE_CLASS_DIM_LABEL
A CSS class to match dimmed labels.
- public const string STYLE_CLASS_DND
A CSS class for a drag-and-drop indicator.
- public const string STYLE_CLASS_DOCK
A CSS class defining a dock area.
- public const string STYLE_CLASS_ENTRY
A CSS class to match text entries.
- public const string STYLE_CLASS_ERROR
A CSS class for an area displaying an error message, such as those in infobars.
- public const string STYLE_CLASS_EXPANDER
A CSS class defining an expander, such as those in treeviews.
- public const string 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.
- public const string STYLE_CLASS_FRAME
A CSS class defining a frame delimiting content, such as Frame or the scrolled window frame around the scrollable area.
- public const string STYLE_CLASS_GRIP
A CSS class defining a resize grip.
- public const string STYLE_CLASS_HEADER
A CSS class to match a header element.
- public const string STYLE_CLASS_HIGHLIGHT
A CSS class defining a highlighted area, such as headings in assistants and calendars.
- public const string STYLE_CLASS_HORIZONTAL
A CSS class for horizontally layered widgets.
- public const string STYLE_CLASS_IMAGE
A CSS class defining an image, such as the icon in an entry.
- public const string STYLE_CLASS_INFO
A CSS class for an area displaying an informational message, such as those in infobars.
- public const string STYLE_CLASS_INLINE_TOOLBAR
A CSS class to match inline toolbars.
- public const string STYLE_CLASS_INSERTION_CURSOR
A CSS class used when rendering a drag handle for the insertion cursor position.
- public const string STYLE_CLASS_LABEL
A CSS class to match labels.
- public const string STYLE_CLASS_LEFT
A CSS class to indicate an area at the left of a widget.
- public const string STYLE_CLASS_LEVEL_BAR
A CSS class used when rendering a level indicator, such as a battery charge level, or a password strength.
- public const string STYLE_CLASS_LINKED
A CSS class to match a linked area, such as a box containing buttons belonging to the same control.
- public const string STYLE_CLASS_LIST
A CSS class to match lists.
- public const string STYLE_CLASS_LIST_ROW
A CSS class to match list rows.
- public const string STYLE_CLASS_MARK
A CSS class defining marks in a widget, such as in scales.
- public const string STYLE_CLASS_MENU
A CSS class to match menus.
- public const string STYLE_CLASS_MENUBAR
A CSS class to menubars.
- public const string STYLE_CLASS_MENUITEM
A CSS class to match menu items.
- public const string STYLE_CLASS_MESSAGE_DIALOG
A CSS class that is added to message dialogs.
- public const string STYLE_CLASS_MONOSPACE
A CSS class that is added to text view that should use a monospace font.
- public const string 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.
- public const string STYLE_CLASS_NOTEBOOK
A CSS class defining a notebook.
- public const string STYLE_CLASS_OSD
A CSS class used when rendering an OSD (On Screen Display) element, on top of another container.
- public const string 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.
- public const string STYLE_CLASS_PANE_SEPARATOR
A CSS class for a pane separator, such as those in Paned.
- public const string STYLE_CLASS_PAPER
A CSS class that is added to areas that should look like paper.
- public const string STYLE_CLASS_POPOVER
A CSS class that matches popovers.
- public const string STYLE_CLASS_POPUP
A CSS class that is added to the toplevel windows used for menus.
- public const string STYLE_CLASS_PRIMARY_TOOLBAR
A CSS class to match primary toolbars.
- public const string STYLE_CLASS_PROGRESSBAR
A CSS class to use when rendering activity as a progressbar.
- public const string STYLE_CLASS_PULSE
A CSS class to use when rendering a pulse in an indeterminate progress bar.
- public const string STYLE_CLASS_QUESTION
A CSS class for an area displaying a question to the user, such as those in infobars.
- public const string STYLE_CLASS_RADIO
A CSS class to match radio buttons.
- public const string STYLE_CLASS_RAISED
A CSS class to match a raised control, such as a raised button on a toolbar.
- public const string STYLE_CLASS_READ_ONLY
A CSS class used to indicate a read-only state.
- public const string STYLE_CLASS_RIGHT
A CSS class to indicate an area at the right of a widget.
- public const string STYLE_CLASS_RUBBERBAND
A CSS class to match the rubberband selection rectangle.
- public const string STYLE_CLASS_SCALE
A CSS class to match scale widgets.
- public const string STYLE_CLASS_SCALE_HAS_MARKS_ABOVE
A CSS class to match scale widgets with marks attached, all the marks are above for horizontal Scale.
- public const string STYLE_CLASS_SCALE_HAS_MARKS_BELOW
- public const string STYLE_CLASS_SCROLLBAR
A CSS class to match scrollbars.
- public const string STYLE_CLASS_SCROLLBARS_JUNCTION
A CSS class to match the junction area between an horizontal and vertical scrollbar, when they’re both shown.
- public const string STYLE_CLASS_SEPARATOR
A CSS class for a separator.
- public const string STYLE_CLASS_SIDEBAR
A CSS class defining a sidebar, such as the left side in a file chooser.
- public const string STYLE_CLASS_SLIDER
A CSS class to match sliders.
- public const string STYLE_CLASS_SPINBUTTON
A CSS class defining an spinbutton.
- public const string STYLE_CLASS_SPINNER
A CSS class to use when rendering activity as a “spinner”.
- public const string STYLE_CLASS_STATUSBAR
A CSS class to match statusbars.
- public const string STYLE_CLASS_SUBTITLE
A CSS class used for the subtitle label in a titlebar in a toplevel window.
- public const string STYLE_CLASS_SUGGESTED_ACTION
A CSS class used when an action (usually a button) is the primary suggested action in a specific context.
- public const string STYLE_CLASS_TITLE
A CSS class used for the title label in a titlebar in a toplevel window.
- public const string STYLE_CLASS_TITLEBAR
A CSS class used when rendering a titlebar in a toplevel window.
- public const string STYLE_CLASS_TOOLBAR
A CSS class to match toolbars.
- public const string STYLE_CLASS_TOOLTIP
A CSS class to match tooltip windows.
- public const string STYLE_CLASS_TOP
A CSS class to indicate an area at the top of a widget.
- public const string STYLE_CLASS_TOUCH_SELECTION
A CSS class for touch selection popups on entries and text views.
- public const string STYLE_CLASS_TROUGH
A CSS class to match troughs, as in scrollbars and progressbars.
- public const string 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.
- public const string STYLE_CLASS_VERTICAL
A CSS class for vertically layered widgets.
- public const string STYLE_CLASS_VIEW
A CSS class defining a view, such as iconviews or treeviews.
- public const string STYLE_CLASS_WARNING
A CSS class for an area displaying a warning message, such as those in infobars.
- public const string STYLE_CLASS_WIDE
A CSS class to indicate that a UI element should be 'wide'.
- public const string STYLE_PROPERTY_BACKGROUND_COLOR
A property holding the background color of rendered elements as a RGBA.
- public const string STYLE_PROPERTY_BACKGROUND_IMAGE
A property holding the element’s background as a RasterSourcePattern.
- public const string STYLE_PROPERTY_BORDER_COLOR
A property holding the element’s border color as a RGBA.
- public const string STYLE_PROPERTY_BORDER_RADIUS
A property holding the rendered element’s border radius in pixels as a SortColumn.
- public const string STYLE_PROPERTY_BORDER_STYLE
A property holding the element’s border style as a BorderStyle.
- public const string STYLE_PROPERTY_BORDER_WIDTH
A property holding the rendered element’s border width in pixels as a Border.
- public const string STYLE_PROPERTY_COLOR
A property holding the foreground color of rendered elements as a RGBA.
- public const string STYLE_PROPERTY_FONT
A property holding the font properties used when rendering text as a FontDescription.
- public const string STYLE_PROPERTY_MARGIN
A property holding the rendered element’s margin as a Border.
- public const string STYLE_PROPERTY_PADDING
A property holding the rendered element’s padding as a Border.
- public const int STYLE_PROVIDER_PRIORITY_APPLICATION
A priority that can be used when adding a StyleProvider for application-specific style information.
- public const int STYLE_PROVIDER_PRIORITY_FALLBACK
The priority used for default style information that is used in the absence of themes.
- public const int STYLE_PROVIDER_PRIORITY_SETTINGS
The priority used for style information provided via Settings.
- public const int STYLE_PROVIDER_PRIORITY_THEME
The priority used for style information provided by themes.
- public const int STYLE_PROVIDER_PRIORITY_USER
The priority used for the style information from `XDG_CONFIG_HOME/gtk-3.0/gtk.
- public const string STYLE_REGION_COLUMN
A widget region name to define a treeview column.
- public const string STYLE_REGION_COLUMN_HEADER
A widget region name to define a treeview column header.
- public const string STYLE_REGION_ROW
A widget region name to define a treeview row.
- public const string STYLE_REGION_TAB
A widget region name to define a notebook tab.
- public const int TEXT_VIEW_PRIORITY_VALIDATE
The priority at which the text view validates onscreen lines in an idle job in the background.
- public const int TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
- public const int TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
- public delegate bool AccelGroupActivate (AccelGroup accel_group, Object acceleratable, uint keyval, ModifierType modifier)
- public delegate bool AccelGroupFindFunc (AccelKey key, Closure closure)
- public delegate void AccelMapForeach (void* data, string accel_path, uint accel_key, ModifierType accel_mods, bool changed)
- public delegate void ActionCallback (Action action)
- public delegate int AssistantPageFunc (int current_page)
A function used by set_forward_page_func to know which is the next page given a current one.
- public delegate void BuilderConnectFunc (Builder builder, Object object, string signal_name, string handler_name, Object? connect_object, ConnectFlags flags)
This is the signature of a function used to connect signals.
- public delegate string? CalendarDetailFunc (Calendar calendar, uint year, uint month, uint day)
This kind of functions provide Pango markup with detail information for the specified day.
- public delegate void Callback (Widget widget)
The type of the callback functions used for e.
- public delegate bool CellAllocCallback (CellRenderer renderer, Rectangle cell_area, Rectangle cell_background)
The type of the callback functions used for iterating over the cell renderers and their allocated areas inside a CellArea, see foreach_alloc.
- public delegate bool CellCallback (CellRenderer renderer)
- public delegate void CellLayoutDataFunc (CellLayout cell_layout, CellRenderer cell, TreeModel tree_model, TreeIter iter)
A function which should set the value of
cell_layout
’s cell renderer(s) as appropriate. - public delegate void ClipboardClearFunc (Clipboard clipboard, void* user_data_or_owner)
A function that will be called when the contents of the clipboard are changed or cleared.
- public delegate void ClipboardGetFunc (Clipboard clipboard, SelectionData selection_data, uint info, void* user_data_or_owner)
A function that will be called to provide the contents of the selection.
- public delegate void ClipboardImageReceivedFunc (Clipboard clipboard, Pixbuf pixbuf)
A function to be called when the results of request_image are received, or when the request fails.
- public delegate void ClipboardReceivedFunc (Clipboard clipboard, SelectionData selection_data)
A function to be called when the results of request_contents are received, or when the request fails.
- public delegate void ClipboardRichTextReceivedFunc (Clipboard clipboard, Atom format, uint8[]? text)
A function to be called when the results of request_rich_text are received, or when the request fails.
- public delegate void ClipboardTargetsReceivedFunc (Clipboard clipboard, Atom[]? atoms)
A function to be called when the results of request_targets are received, or when the request fails.
- public delegate void ClipboardTextReceivedFunc (Clipboard clipboard, string? text)
A function to be called when the results of request_text are received, or when the request fails.
- public delegate void ClipboardURIReceivedFunc (Clipboard clipboard, string[] uris)
A function to be called when the results of request_uris are received, or when the request fails.
- public delegate void ColorSelectionChangePaletteFunc (Color[] colors)
- public delegate void ColorSelectionChangePaletteWithScreenFunc (Screen screen, Color[] colors)
- public delegate bool EntryCompletionMatchFunc (EntryCompletion completion, string key, TreeIter iter)
A function which decides whether the row indicated by
iter
matches a givenkey
, and should be displayed as a possible completion forkey
. - public delegate bool FileFilterFunc (FileFilterInfo filter_info)
The type of function that is used with custom filters, see add_custom.
- public delegate Widget FlowBoxCreateWidgetFunc (Object item)
Called for flow boxes that are bound to a ListModel with bind_model for each item that gets added to the model.
- public delegate bool FlowBoxFilterFunc (FlowBoxChild child)
A function that will be called whenrever a child changes or is added.
- public delegate void FlowBoxForeachFunc (FlowBox box, FlowBoxChild child)
A function used by selected_foreach.
- public delegate int FlowBoxSortFunc (FlowBoxChild child1, FlowBoxChild child2)
A function to compare two children to determine which should come first.
- public delegate bool FontFilterFunc (FontFamily family, FontFace face)
The type of function that is used for deciding what fonts get shown in a FontChooser.
- public delegate void IconViewForeachFunc (IconView icon_view, TreePath path)
A function used by selected_foreach to map all selected rows.
- public delegate int KeySnoopFunc (Widget grab_widget, EventKey event)
Key snooper functions are called before normal event delivery.
- public delegate Widget ListBoxCreateWidgetFunc (Object item)
Called for list boxes that are bound to a ListModel with bind_model for each item that gets added to the model.
- public delegate bool ListBoxFilterFunc (ListBoxRow row)
Will be called whenever the row changes or is added and lets you control if the row should be visible or not.
- public delegate void ListBoxForeachFunc (ListBox box, ListBoxRow row)
A function used by selected_foreach.
- public delegate int ListBoxSortFunc (ListBoxRow row1, ListBoxRow row2)
Compare two rows to determine which should be first.
- public delegate void ListBoxUpdateHeaderFunc (ListBoxRow row, ListBoxRow? before)
Whenever
row
changes or which row is beforerow
changes this is called, which lets you update the header onrow
. - public delegate void MenuDetachFunc (Widget attach_widget, Menu menu)
A user function supplied when calling attach_to_widget which will be called when the menu is later detached from the widget.
- public delegate void MenuPositionFunc (Menu menu, ref int x, ref int y, out bool push_in)
A user function supplied when calling popup which controls the positioning of the menu when it is displayed.
- public delegate void ModuleDisplayInitFunc (Display display)
A multihead-aware GTK+ module may have a
gtk_module_display_init
function with this prototype. - public delegate void ModuleInitFunc (ref unowned string[]? argv)
Each GTK+ module must have a function
gtk_module_init
with this prototype. - public delegate void PageSetupDoneFunc (PageSetup page_setup)
The type of function that is passed to print_run_page_setup_dialog_async.
- public delegate void PrintSettingsFunc (string key, string value)
- public delegate void RadioActionCallback (Action action, Action current)
- public delegate bool RcPropertyParser (ParamSpec pspec, StringBuilder rc_string, Value property_value)
- public delegate bool RecentFilterFunc (RecentFilterInfo filter_info)
The type of function that is used with custom filters, see add_custom.
- public delegate int RecentSortFunc (RecentInfo a, RecentInfo b)
- public delegate bool StylePropertyParser (string str, Value value) throws Error
- public delegate bool TextBufferDeserializeFunc (TextBuffer register_buffer, TextBuffer content_buffer, TextIter iter, uint8[] data, bool create_tags) throws Error
A function that is called to deserialize rich text that has been serialized with serialize, and insert it at
iter
. - public delegate uint8[]? TextBufferSerializeFunc (TextBuffer register_buffer, TextBuffer content_buffer, TextIter start, TextIter end)
A function that is called to serialize the content of a text buffer.
- public delegate bool TextCharPredicate (unichar ch)
- public delegate void TextTagTableForeach (TextTag tag)
- public delegate bool TickCallback (Widget widget, FrameClock frame_clock)
Callback type for adding a function to update animations.
- public delegate string TranslateFunc (string path)
The function used to translate messages in e.
- public delegate void TreeCellDataFunc (TreeViewColumn tree_column, CellRenderer cell, TreeModel tree_model, TreeIter iter)
A function to set the properties of a cell instead of just using the straight mapping between the cell and the model.
- public delegate void TreeDestroyCountFunc (TreeView tree_view, TreePath path, int children)
- public delegate int TreeIterCompareFunc (TreeModel model, TreeIter a, TreeIter b)
A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive integer if
a
sorts beforeb
,a
sorts withb
, ora
sorts afterb
respectively. - public delegate void TreeModelFilterModifyFunc (TreeModel model, TreeIter iter, out Value value, int column)
A function which calculates display values from raw values in the model.
- public delegate bool TreeModelFilterVisibleFunc (TreeModel model, TreeIter iter)
A function which decides whether the row indicated by
iter
is visible. - public delegate bool TreeModelForeachFunc (TreeModel model, TreePath path, TreeIter iter)
Type of the callback passed to @foreach to iterate over the rows in a tree model.
- public delegate void TreeSelectionForeachFunc (TreeModel model, TreePath path, TreeIter iter)
A function used by selected_foreach to map all selected rows.
- public delegate bool TreeSelectionFunc (TreeSelection selection, TreeModel model, TreePath path, bool path_currently_selected)
A function used by set_select_function to filter whether or not a row may be selected.
- public delegate bool TreeViewColumnDropFunc (TreeView tree_view, TreeViewColumn column, TreeViewColumn prev_column, TreeViewColumn next_column)
Function type for determining whether
column
can be dropped in a particular spot (as determined byprev_column
andnext_column
). - public delegate void TreeViewMappingFunc (TreeView tree_view, TreePath path)
Function used for map_expanded_rows.
- public delegate bool TreeViewRowSeparatorFunc (TreeModel model, TreeIter iter)
Function type for determining whether the row pointed to by
iter
should be rendered as a separator. - public delegate bool TreeViewSearchEqualFunc (TreeModel model, int column, string key, TreeIter iter)
A function used for checking whether a row in
model
matches a search key string entered by the user. - public delegate void TreeViewSearchPositionFunc (TreeView tree_view, Widget search_dialog)
- public bool accel_groups_activate (Object object, uint accel_key, ModifierType accel_mods)
Finds the first accelerator in any AccelGroup attached to
object
that matchesaccel_key
andaccel_mods
, and activates that accelerator. - public unowned SList<AccelGroup> accel_groups_from_object (Object object)
Gets a list of all accel groups which are attached to
object
. - public ModifierType accelerator_get_default_mod_mask ()
Gets the modifier mask.
- public string accelerator_get_label (uint accelerator_key, ModifierType accelerator_mods)
Converts an accelerator keyval and modifier mask into a string which can be used to represent the accelerator to the user.
- public string accelerator_get_label_with_keycode (Display? display, uint accelerator_key, uint keycode, ModifierType accelerator_mods)
Converts an accelerator keyval and modifier mask into a (possibly translated) string that can be displayed to a user, similarly to accelerator_get_label, but handling keycodes.
- public string accelerator_name (uint accelerator_key, ModifierType accelerator_mods)
Converts an accelerator keyval and modifier mask into a string parseable by accelerator_parse.
- public string accelerator_name_with_keycode (Display? display, uint accelerator_key, uint keycode, ModifierType accelerator_mods)
Converts an accelerator keyval and modifier mask into a string parseable by accelerator_parse_with_keycode, similarly to accelerator_name but handling keycodes.
- public void accelerator_parse (string accelerator, out uint accelerator_key, out ModifierType accelerator_mods)
Parses a string representing an accelerator.
- public void accelerator_parse_with_keycode (string accelerator, out uint accelerator_key, out uint[] accelerator_codes, out ModifierType accelerator_mods)
Parses a string representing an accelerator, similarly to accelerator_parse but handles keycodes as well.
- public void accelerator_set_default_mod_mask (ModifierType default_mod_mask)
Sets the modifiers that will be considered significant for keyboard accelerators.
- public bool accelerator_valid (uint keyval, ModifierType modifiers)
Determines whether a given keyval and modifier mask constitute a valid keyboard accelerator.
- public bool alternative_dialog_button_order (Screen? screen)
Returns true if dialogs are expected to use an alternative button order on the screen
screen
. - public TokenType binding_entry_add_signal_from_string (BindingSet binding_set, string signal_desc)
Parses a signal description from
signal_desc
and incorporates it intobinding_set
. - public void binding_entry_add_signall (BindingSet binding_set, uint keyval, ModifierType modifiers, string signal_name, SList<BindingArg?> binding_args)
Override or install a new key binding for
keyval
withmodifiers
onbinding_set
. - public void binding_entry_remove (BindingSet binding_set, uint keyval, ModifierType modifiers)
Remove a binding previously installed via add_signal on
binding_set
. - public void binding_entry_skip (BindingSet binding_set, uint keyval, ModifierType modifiers)
Install a binding on
binding_set
which causes key lookups to be aborted, to prevent bindings from lower priority sets to be activated. - public unowned BindingSet? binding_set_find (string set_name)
Find a binding set by its globally unique name.
- public bool bindings_activate (Object object, uint keyval, ModifierType modifiers)
Find a key binding matching
keyval
andmodifiers
and activate the binding onobject
. - public bool bindings_activate_event (Object object, EventKey event)
Looks up key bindings for
object
to find one matchingevent
, and if one was found, activate it. - public Quark builder_error_quark ()
- public bool cairo_should_draw_window (Context cr, Window window)
This function is supposed to be called in draw implementations for widgets that support multiple windows.
- public void cairo_transform_to_window (Context cr, Widget widget, Window window)
Transforms the given cairo context
cr
that fromwidget
-relative coordinates towindow
-relative coordinates. - public unowned string? check_version (uint required_major, uint required_minor, uint required_micro)
Checks that the GTK+ library in use is compatible with the given version.
- public Quark css_provider_error_quark ()
- public void device_grab_add (Widget widget, Device device, bool block_others)
Adds a GTK+ grab on
device
, so all the events ondevice
and its associated pointer or keyboard (if any) are delivered towidget
. - public void device_grab_remove (Widget widget, Device device)
Removes a device grab from the given widget.
- public void disable_setlocale ()
Prevents init, init_check, init_with_args and parse_args from automatically calling `setlocale ( LC_ALL, "")`.
- public int distribute_natural_allocation (int extra_space, uint n_requested_sizes, RequestedSize sizes)
Distributes
extra_space
to childsizes
by bringing smaller children up to natural size first. - public unowned DragContext drag_begin (Widget widget, TargetList targets, DragAction actions, int button, Event? event)
This function is equivalent to drag_begin_with_coordinates, passing -1, -1 as coordinates.
- public unowned DragContext drag_begin_with_coordinates (Widget widget, TargetList targets, DragAction actions, int button, Event? event, int x, int y)
Initiates a drag on the source side.
- public void drag_cancel (DragContext context)
Cancels an ongoing drag operation on the source side.
- public bool drag_check_threshold (Widget widget, int start_x, int start_y, int current_x, int current_y)
Checks to see if a mouse drag starting at (
start_x
,start_y
) and ending at (current_x
,current_y
) has passed the GTK+ drag threshold, and thus should trigger the beginning of a drag-and-drop operation. - public void drag_dest_add_image_targets (Widget widget)
Add the image targets supported by SelectionData to the target list of the drag destination.
- public void drag_dest_add_text_targets (Widget widget)
Add the text targets supported by SelectionData to the target list of the drag destination.
- public void drag_dest_add_uri_targets (Widget widget)
Add the URI targets supported by SelectionData to the target list of the drag destination.
- public Atom drag_dest_find_target (Widget widget, DragContext context, TargetList? target_list)
Looks for a match between the supported targets of
context
and thedest_target_list
, returning the first matching target, otherwise returning gdk_none . - public unowned TargetList? drag_dest_get_target_list (Widget widget)
Returns the list of targets this widget can accept from drag-and-drop.
- public bool drag_dest_get_track_motion (Widget widget)
Returns whether the widget has been configured to always emit drag_motion signals.
- public void drag_dest_set (Widget widget, DestDefaults flags, TargetEntry[]? targets, DragAction actions)
Sets a widget as a potential drop destination, and adds default behaviors.
- public void drag_dest_set_proxy (Widget widget, Window proxy_window, DragProtocol protocol, bool use_coordinates)
Sets this widget as a proxy for drops to another window.
- public void drag_dest_set_target_list (Widget widget, TargetList? target_list)
Sets the target types that this widget can accept from drag-and-drop.
- public void drag_dest_set_track_motion (Widget widget, bool track_motion)
Tells the widget to emit drag_motion and drag_leave events regardless of the targets and the gtk_dest_default_motion flag.
- public void drag_dest_unset (Widget widget)
Clears information about a drop destination set with drag_dest_set.
- public void drag_finish (DragContext context, bool success, bool del, uint32 time_)
Informs the drag source that the drop is finished, and that the data of the drag will no longer be required.
- public void drag_get_data (Widget widget, DragContext context, Atom target, uint32 time_)
Gets the data associated with a drag.
- public unowned Widget? drag_get_source_widget (DragContext context)
Determines the source widget for a drag.
- public void drag_highlight (Widget widget)
Highlights a widget as a currently hovered drop target.
- public void drag_set_icon_default (DragContext context)
Sets the icon for a particular drag to the default icon.
- public void drag_set_icon_gicon (DragContext context, Icon icon, int hot_x, int hot_y)
Sets the icon for a given drag from the given
icon
. - public void drag_set_icon_name (DragContext context, string icon_name, int hot_x, int hot_y)
Sets the icon for a given drag from a named themed icon.
- public void drag_set_icon_pixbuf (DragContext context, Pixbuf pixbuf, int hot_x, int hot_y)
Sets
pixbuf
as the icon for a given drag. - public void drag_set_icon_stock (DragContext context, string stock_id, int hot_x, int hot_y)
Sets the icon for a given drag from a stock ID.
- public void drag_set_icon_surface (DragContext context, Surface surface)
Sets
surface
as the icon for a given drag. - public void drag_set_icon_widget (DragContext context, Widget widget, int hot_x, int hot_y)
Changes the icon for drag operation to a given widget.
- public void drag_source_add_image_targets (Widget widget)
Add the writable image targets supported by SelectionData to the target list of the drag source.
- public void drag_source_add_text_targets (Widget widget)
Add the text targets supported by SelectionData to the target list of the drag source.
- public void drag_source_add_uri_targets (Widget widget)
Add the URI targets supported by SelectionData to the target list of the drag source.
- public unowned TargetList? drag_source_get_target_list (Widget widget)
Gets the list of targets this widget can provide for drag-and-drop.
- public void drag_source_set (Widget widget, ModifierType start_button_mask, TargetEntry[]? targets, DragAction actions)
Sets up a widget so that GTK+ will start a drag operation when the user clicks and drags on the widget.
- public void drag_source_set_icon_gicon (Widget widget, Icon icon)
Sets the icon that will be used for drags from a particular source to
icon
. - public void drag_source_set_icon_name (Widget widget, string icon_name)
Sets the icon that will be used for drags from a particular source to a themed icon.
- public void drag_source_set_icon_pixbuf (Widget widget, Pixbuf pixbuf)
Sets the icon that will be used for drags from a particular widget from a Pixbuf.
- public void drag_source_set_icon_stock (Widget widget, string stock_id)
Sets the icon that will be used for drags from a particular source to a stock icon.
- public void drag_source_set_target_list (Widget widget, TargetList? target_list)
Changes the target types that this widget offers for drag-and-drop.
- public void drag_source_unset (Widget widget)
Undoes the effects of drag_source_set.
- public void drag_unhighlight (Widget widget)
Removes a highlight set by drag_highlight from a widget.
- public void draw_insertion_cursor (Widget widget, Context cr, Rectangle location, bool is_primary, TextDirection direction, bool draw_arrow)
Draws a text caret on
cr
atlocation
. - public bool events_pending ()
Checks if any events are pending.
- public Quark file_chooser_error_quark ()
- public uint get_binary_age ()
Returns the binary age as passed to `libtool` when building the GTK+ library the process is running against.
- public Event? get_current_event ()
Obtains a copy of the event currently being processed by GTK+.
- public unowned Device? get_current_event_device ()
If there is a current event and it has a device, return that device, otherwise return null.
- public bool get_current_event_state (out ModifierType state)
If there is a current event and it has a state field, place that state field in
state
and return true, otherwise return false. - public uint32 get_current_event_time ()
If there is a current event and it has a timestamp, return that timestamp, otherwise return gdk_current_time.
- public uint get_debug_flags ()
Returns the GTK+ debug flags.
- public unowned Language get_default_language ()
Returns the Language for the default language currently in effect.
- public unowned Widget? get_event_widget (Event event)
If
event
is null or the event was not associated with any widget, returns null, otherwise returns the widget that received the event originally. - public uint get_interface_age ()
Returns the interface age as passed to `libtool` when building the GTK+ library the process is running against.
- public TextDirection get_locale_direction ()
Get the direction of the current locale.
- public uint get_major_version ()
Returns the major version number of the GTK+ library.
- public uint get_micro_version ()
Returns the micro version number of the GTK+ library.
- public uint get_minor_version ()
Returns the minor version number of the GTK+ library.
- public OptionGroup get_option_group (bool open_default_display)
Returns a OptionGroup for the commandline arguments recognized by GTK+ and GDK.
- public void grab_add (Widget widget)
Makes this the current grabbed widget.
- public unowned Widget? grab_get_current ()
Queries the current grab of the default window group.
- public void grab_remove (Widget widget)
Removes the grab from the given widget.
- public IconSize icon_size_from_name (string name)
- public unowned string icon_size_get_name (IconSize size)
- public bool icon_size_lookup (IconSize size, out int width, out int height)
- public bool icon_size_lookup_for_settings (Settings settings, IconSize size, out int width, out int height)
- public IconSize icon_size_register (string name, int width, int height)
- public void icon_size_register_alias (string alias, IconSize target)
- public Quark icon_theme_error_quark ()
- public void init (ref unowned string[]? argv)
Call this function before using any other GTK+ functions in your GUI applications.
- public bool init_check (ref unowned string[]? argv)
This function does the same work as init with only a single change: It does not terminate the program if the commandline arguments couldn’t be parsed or the windowing system can’t be initialized.
- public bool init_with_args (ref unowned string[]? argv, string? parameter_string, OptionEntry[] entries, string? translation_domain) throws Error
This function does the same work as init_check.
- public uint key_snooper_install (KeySnoopFunc snooper)
Installs a key snooper function, which will get called on all key events before delivering them normally.
- public void key_snooper_remove (uint snooper_handler_id)
Removes the key snooper function with the given id.
- public void main ()
Runs the main loop until main_quit is called.
- public void main_do_event (Event event)
Processes a single GDK event.
- public bool main_iteration ()
Runs a single iteration of the mainloop.
- public bool main_iteration_do (bool blocking)
Runs a single iteration of the mainloop.
- public uint main_level ()
Asks for the current nesting level of the main loop.
- public void main_quit ()
Makes the innermost invocation of the main loop return when it regains control.
- public void paint_arrow (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, ArrowType arrow_type, bool fill, int x, int y, int width, int height)
Draws an arrow in the given rectangle on
cr
using the given parameters. - public void paint_box (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws a box on
cr
with the given parameters. - public void paint_box_gap (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width)
Draws a box in
cr
using the given style and state and shadow type, leaving a gap in one side. - public void paint_check (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws a check button indicator in the given rectangle on
cr
with the given parameters. - public void paint_diamond (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws a diamond in the given rectangle on
window
using the given parameters. - public void paint_expander (Style style, Context cr, StateType state_type, Widget? widget, string? detail, int x, int y, ExpanderStyle expander_style)
Draws an expander as used in TreeView.
- public void paint_extension (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height, PositionType gap_side)
Draws an extension, i.
- public void paint_flat_box (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws a flat box on
cr
with the given parameters. - public void paint_focus (Style style, Context cr, StateType state_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws a focus indicator around the given rectangle on
cr
using the given style. - public void paint_handle (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height, Orientation orientation)
- public void paint_hline (Style style, Context cr, StateType state_type, Widget? widget, string? detail, int x1, int x2, int y)
Draws a horizontal line from (
x1
,y
) to (x2
,y
) incr
using the given style and state. - public void paint_layout (Style style, Context cr, StateType state_type, bool use_text, Widget? widget, string? detail, int x, int y, Layout layout)
Draws a layout on
cr
using the given parameters. - public void paint_option (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws a radio button indicator in the given rectangle on
cr
with the given parameters. - public void paint_resize_grip (Style style, Context cr, StateType state_type, Widget? widget, string? detail, WindowEdge edge, int x, int y, int width, int height)
Draws a resize grip in the given rectangle on
cr
using the given parameters. - public void paint_shadow (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws a shadow around the given rectangle in
cr
using the given style and state and shadow type. - public void paint_shadow_gap (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height, PositionType gap_side, int gap_x, int gap_width)
Draws a shadow around the given rectangle in
cr
using the given style and state and shadow type, leaving a gap in one side. - public void paint_slider (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height, Orientation orientation)
Draws a slider in the given rectangle on
cr
using the given style and orientation. - public void paint_spinner (Style style, Context cr, StateType state_type, Widget? widget, string? detail, uint step, int x, int y, int width, int height)
Draws a spinner on
window
using the given parameters. - public void paint_tab (Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget? widget, string? detail, int x, int y, int width, int height)
Draws an option menu tab (i.
- public void paint_vline (Style style, Context cr, StateType state_type, Widget? widget, string? detail, int y1_, int y2_, int x)
Draws a vertical line from (
x
,y1_
) to (x
,y2_
) incr
using the given style and state. - public unowned string paper_size_get_default ()
Returns the name of the default paper size, which depends on the current locale.
- public List<PaperSize> paper_size_get_paper_sizes (bool include_custom)
Creates a list of known paper sizes.
- public bool parse_args (ref unowned string[] argv)
Parses command line arguments, and initializes global attributes of GTK+, but does not actually open a connection to a display.
- public Quark print_error_quark ()
- public PageSetup print_run_page_setup_dialog (Window? parent, PageSetup? page_setup, PrintSettings settings)
Runs a page setup dialog, letting the user modify the values from
page_setup
. - public void print_run_page_setup_dialog_async (Window? parent, PageSetup? page_setup, PrintSettings settings, PageSetupDoneFunc done_cb)
Runs a page setup dialog, letting the user modify the values from
page_setup
. - public void propagate_event (Widget widget, Event event)
Sends an event to a widget, propagating the event to parent widgets if the event remains unhandled.
- public void rc_add_default_file (string filename)
Adds a file to the list of files to be parsed at the end of init.
- public string rc_find_module_in_path (string module_file)
Searches for a theme engine in the GTK+ search path.
- public string rc_find_pixmap_in_path (Settings settings, Scanner scanner, string pixmap_file)
Looks up a file in pixmap path for the specified Settings.
- public unowned string[] rc_get_default_files ()
Retrieves the current list of RC files that will be parsed at the end of init.
- public string rc_get_im_module_file ()
Obtains the path to the IM modules file.
- public string rc_get_im_module_path ()
Obtains the path in which to look for IM modules.
- public string rc_get_module_dir ()
Returns a directory in which GTK+ looks for theme engines.
- public unowned Style rc_get_style (Widget widget)
Finds all matching RC styles for a given widget, composites them together, and then creates a Style representing the composite appearance.
- public unowned Style? rc_get_style_by_paths (Settings settings, string? widget_path, string? class_path, Type type)
Creates up a Style from styles defined in a RC file by providing the raw components used in matching.
- public string rc_get_theme_dir ()
Returns the standard directory in which themes should be installed.
- public void rc_parse (string filename)
Parses a given resource file.
- public uint rc_parse_color (Scanner scanner, out Color color)
Parses a color in the format expected in a RC file.
- public uint rc_parse_color_full (Scanner scanner, RcStyle? style, out Color color)
Parses a color in the format expected in a RC file.
- public uint rc_parse_priority (Scanner scanner, PathPriorityType priority)
Parses a PathPriorityType variable from the format expected in a RC file.
- public uint rc_parse_state (Scanner scanner, out StateType state)
Parses a StateType variable from the format expected in a RC file.
- public void rc_parse_string (string rc_string)
Parses resource information directly from a string.
- public bool rc_reparse_all ()
If the modification time on any previously read file for the default Settings has changed, discard all style information and then reread all previously read RC files.
- public bool rc_reparse_all_for_settings (Settings settings, bool force_load)
If the modification time on any previously read file for the given Settings has changed, discard all style information and then reread all previously read RC files.
- public void rc_reset_styles (Settings settings)
This function recomputes the styles for all widgets that use a particular Settings object.
- public unowned Scanner rc_scanner_new ()
- public void rc_set_default_files (string[] filenames)
Sets the list of files that GTK+ will read at the end of init.
- public Quark recent_chooser_error_quark ()
- public Quark recent_manager_error_quark ()
- public void render_icon_surface (StyleContext context, Context cr, Surface surface, double x, double y)
Renders the icon in
surface
at the specifiedx
andy
coordinates. - public void render_insertion_cursor (StyleContext context, Context cr, double x, double y, Layout layout, int index, Direction direction)
Draws a text caret on
cr
at the specified index oflayout
. - public void rgb_to_hsv (double r, double g, double b, out double h, out double s, out double v)
Converts a color from RGB space to HSV.
- public void selection_add_target (Widget widget, Atom selection, Atom target, uint info)
Appends a specified target to the list of supported targets for a given widget and selection.
- public void selection_add_targets (Widget widget, Atom selection, TargetEntry[] targets)
Prepends a table of targets to the list of supported targets for a given widget and selection.
- public void selection_clear_targets (Widget widget, Atom selection)
Remove all targets registered for the given selection for the widget.
- public bool selection_convert (Widget widget, Atom selection, Atom target, uint32 time_)
Requests the contents of a selection.
- public bool selection_owner_set (Widget? widget, Atom selection, uint32 time_)
Claims ownership of a given selection for a particular widget, or, if
widget
is null, release ownership of the selection. - public bool selection_owner_set_for_display (Display display, Widget? widget, Atom selection, uint32 time_)
Claim ownership of a given selection for a particular widget, or, if
widget
is null, release ownership of the selection. - public void selection_remove_all (Widget widget)
Removes all handlers and unsets ownership of all selections for a widget.
- public void set_debug_flags (uint flags)
Sets the GTK+ debug flags.
- public void show_about_dialog (Window? parent, ...)
This is a convenience function for showing an application’s about box.
- public bool show_uri (Screen? screen, string uri, uint32 timestamp) throws Error
A convenience function for launching the default application to show the uri.
- public bool show_uri_on_window (Window? parent, string uri, uint32 timestamp) throws Error
This is a convenience function for launching the default application to show the uri.
- public void stock_add (StockItem[] items)
- public void stock_add_static (StockItem[] items)
- public SList<string> stock_list_ids ()
- public bool stock_lookup (string stock_id, out StockItem item)
- public void stock_set_translate_func (string domain, owned TranslateFunc func)
- public void target_table_free (TargetEntry[] targets)
This function frees a target table as returned by target_table_new_from_list
- public TargetEntry[] target_table_new_from_list (TargetList list)
This function creates an TargetEntry array that contains the same targets as the passed list.
- public bool targets_include_image (Atom[] targets, bool writable)
Determines if any of the targets in
targets
can be used to provide a Pixbuf. - public bool targets_include_rich_text (Atom[] targets, TextBuffer buffer)
Determines if any of the targets in
targets
can be used to provide rich text. - public bool targets_include_text (Atom[] targets)
Determines if any of the targets in
targets
can be used to provide text. - public bool targets_include_uri (Atom[] targets)
Determines if any of the targets in
targets
can be used to provide an uri list. - public unowned Widget test_create_simple_window (string window_title, string dialog_text)
Create a simple window with window title
window_title
and text contentsdialog_text
. - public unowned Widget test_create_widget (Type widget_type, ...)
This function wraps @new for widget types.
- public Widget test_display_button_window (string window_title, string dialog_text, ...)
Create a window with window title
window_title
, text contentsdialog_text
, and a number of buttons, according to the paired argument list given as...
parameters. - public unowned Widget test_find_label (Widget widget, string label_pattern)
This function will search
widget
and all its descendants for a GtkLabel widget with a text string matchinglabel_pattern
. - public unowned Widget test_find_sibling (Widget base_widget, Type widget_type)
This function will search siblings of
base_widget
and siblings of its ancestors for all widgets matchingwidget_type
. - public unowned Widget? test_find_widget (Widget widget, string label_pattern, Type widget_type)
This function will search the descendants of
widget
for a widget of typewidget_type
that has a label matchinglabel_pattern
next to it. - public void test_init (ref unowned string[] argvp, ...)
This function is used to initialize a GTK+ test program.
- public unowned Type[] test_list_all_types ()
Return the type ids that have been registered after calling test_register_all_types.
- public void test_register_all_types ()
Force registration of all core Gtk+ and Gdk object types.
- public double test_slider_get_value (Widget widget)
Retrive the literal adjustment value for GtkRange based widgets and spin buttons.
- public void test_slider_set_perc (Widget widget, double percentage)
This function will adjust the slider position of all GtkRange based widgets, such as scrollbars or scales, it’ll also adjust spin buttons.
- public bool test_spin_button_click (SpinButton spinner, uint button, bool upwards)
This function will generate a
button
click in the upwards or downwards spin button arrow areas, usually leading to an increase or decrease of spin button’s value. - public string test_text_get (Widget widget)
Retrive the text string of
widget
if it is a GtkLabel, GtkEditable (entry and text widgets) or GtkTextView. - public void test_text_set (Widget widget, string str)
Set the text string of
widget
tostring
if it is a GtkLabel, GtkEditable (entry and text widgets) or GtkTextView. - public bool test_widget_click (Widget widget, uint button, ModifierType modifiers)
This function will generate a
button
click (button press and button release event) in the middle of the first GdkWindow found that belongs towidget
. - public bool test_widget_send_key (Widget widget, uint keyval, ModifierType modifiers)
This function will generate keyboard press and release events in the middle of the first GdkWindow found that belongs to
widget
. - public void test_widget_wait_for_draw (Widget widget)
Enters the main loop and waits for
widget
to be “drawn”. - public bool tree_get_row_drag_data (SelectionData selection_data, out unowned TreeModel? tree_model, out TreePath? path)
Obtains a
tree_model
andpath
from selection data of target type gtk_tree_model_row. - public void tree_row_reference_deleted (Object proxy, TreePath path)
Lets a set of row reference created by TreeRowReference.proxy know that the model emitted the row_deleted signal.
- public void tree_row_reference_inserted (Object proxy, TreePath path)
Lets a set of row reference created by TreeRowReference.proxy know that the model emitted the row_inserted signal.
- public bool tree_set_row_drag_data (SelectionData selection_data, TreeModel tree_model, TreePath path)
Sets selection data of target type gtk_tree_model_row.
- Stock
- public const string ABOUT
The “About” item.
- public const string ADD
The “Add” item and icon.
- public const string APPLY
The “Apply” item and icon.
- public const string BOLD
The “Bold” item and icon.
- public const string CANCEL
The “Cancel” item and icon.
- public const string CAPS_LOCK_WARNING
The “Caps Lock Warning” icon.
- public const string CDROM
The “CD-Rom” item and icon.
- public const string CLEAR
The “Clear” item and icon.
- public const string CLOSE
The “Close” item and icon.
- public const string COLOR_PICKER
The “Color Picker” item and icon.
- public const string CONNECT
The “Connect” icon.
- public const string CONVERT
The “Convert” item and icon.
- public const string COPY
The “Copy” item and icon.
- public const string CUT
The “Cut” item and icon.
- public const string DELETE
The “Delete” item and icon.
- public const string DIALOG_AUTHENTICATION
The “Authentication” item and icon.
- public const string DIALOG_ERROR
The “Error” item and icon.
- public const string DIALOG_INFO
The “Information” item and icon.
- public const string DIALOG_QUESTION
The “Question” item and icon.
- public const string DIALOG_WARNING
The “Warning” item and icon.
- public const string DIRECTORY
The “Directory” icon.
- public const string DISCARD
The “Discard” item.
- public const string DISCONNECT
The “Disconnect” icon.
- public const string DND
The “Drag-And-Drop” icon.
- public const string DND_MULTIPLE
The “Drag-And-Drop multiple” icon.
- public const string EDIT
The “Edit” item and icon.
- public const string EXECUTE
The “Execute” item and icon.
- public const string FILE
The “File” item and icon.
- public const string FIND
The “Find” item and icon.
- public const string FIND_AND_REPLACE
The “Find and Replace” item and icon.
- public const string FLOPPY
The “Floppy” item and icon.
- public const string FULLSCREEN
The “Fullscreen” item and icon.
- public const string GOTO_BOTTOM
The “Bottom” item and icon.
- public const string GOTO_FIRST
The “First” item and icon.
- public const string GOTO_LAST
The “Last” item and icon.
- public const string GOTO_TOP
The “Top” item and icon.
- public const string GO_BACK
The “Back” item and icon.
- public const string GO_DOWN
The “Down” item and icon.
- public const string GO_FORWARD
The “Forward” item and icon.
- public const string GO_UP
The “Up” item and icon.
- public const string HARDDISK
The “Harddisk” item and icon.
- public const string HELP
The “Help” item and icon.
- public const string HOME
The “Home” item and icon.
- public const string INDENT
The “Indent” item and icon.
- public const string INDEX
The “Index” item and icon.
- public const string INFO
The “Info” item and icon.
- public const string ITALIC
The “Italic” item and icon.
- public const string JUMP_TO
The “Jump to” item and icon.
- public const string JUSTIFY_CENTER
The “Center” item and icon.
- public const string JUSTIFY_FILL
The “Fill” item and icon.
- public const string JUSTIFY_LEFT
The “Left” item and icon.
- public const string JUSTIFY_RIGHT
The “Right” item and icon.
- public const string LEAVE_FULLSCREEN
The “Leave Fullscreen” item and icon.
- public const string MEDIA_FORWARD
The “Media Forward” item and icon.
- public const string MEDIA_NEXT
The “Media Next” item and icon.
- public const string MEDIA_PAUSE
The “Media Pause” item and icon.
- public const string MEDIA_PLAY
The “Media Play” item and icon.
- public const string MEDIA_PREVIOUS
The “Media Previous” item and icon.
- public const string MEDIA_RECORD
The “Media Record” item and icon.
- public const string MEDIA_REWIND
The “Media Rewind” item and icon.
- public const string MEDIA_STOP
The “Media Stop” item and icon.
- public const string MISSING_IMAGE
The “Missing image” icon.
- public const string NETWORK
The “Network” item and icon.
- public const string NEW
The “New” item and icon.
- public const string NO
The “No” item and icon.
- public const string OK
The “OK” item and icon.
- public const string OPEN
The “Open” item and icon.
- public const string ORIENTATION_LANDSCAPE
The “Landscape Orientation” item and icon.
- public const string ORIENTATION_PORTRAIT
The “Portrait Orientation” item and icon.
- public const string ORIENTATION_REVERSE_LANDSCAPE
The “Reverse Landscape Orientation” item and icon.
- public const string ORIENTATION_REVERSE_PORTRAIT
The “Reverse Portrait Orientation” item and icon.
- public const string PAGE_SETUP
The “Page Setup” item and icon.
- public const string PASTE
The “Paste” item and icon.
- public const string PREFERENCES
The “Preferences” item and icon.
- public const string PRINT
The “Print” item and icon.
- public const string PRINT_ERROR
The “Print Error” icon.
- public const string PRINT_PAUSED
The “Print Paused” icon.
- public const string PRINT_PREVIEW
The “Print Preview” item and icon.
- public const string PRINT_REPORT
The “Print Report” icon.
- public const string PRINT_WARNING
The “Print Warning” icon.
- public const string PROPERTIES
The “Properties” item and icon.
- public const string QUIT
The “Quit” item and icon.
- public const string REDO
The “Redo” item and icon.
- public const string REFRESH
The “Refresh” item and icon.
- public const string REMOVE
The “Remove” item and icon.
- public const string REVERT_TO_SAVED
The “Revert” item and icon.
- public const string SAVE
The “Save” item and icon.
- public const string SAVE_AS
The “Save As” item and icon.
- public const string SELECT_ALL
The “Select All” item and icon.
- public const string SELECT_COLOR
The “Color” item and icon.
- public const string SELECT_FONT
The “Font” item and icon.
- public const string SORT_ASCENDING
The “Ascending” item and icon.
- public const string SORT_DESCENDING
The “Descending” item and icon.
- public const string SPELL_CHECK
The “Spell Check” item and icon.
- public const string STOP
The “Stop” item and icon.
- public const string STRIKETHROUGH
The “Strikethrough” item and icon.
- public const string UNDELETE
The “Undelete” item and icon.
- public const string UNDERLINE
The “Underline” item and icon.
- public const string UNDO
The “Undo” item and icon.
- public const string UNINDENT
The “Unindent” item and icon.
- public const string YES
The “Yes” item and icon.
- public const string ZOOM_100
The “Zoom 100%” item and icon.
- public const string ZOOM_FIT
The “Zoom to Fit” item and icon.
- public const string ZOOM_IN
The “Zoom In” item and icon.
- public const string ZOOM_OUT
The “Zoom Out” item and icon.
- public void add (StockItem[] items)
Registers each of the stock items in
items
. - public void add_static (StockItem[] items)
Same as add, but doesn’t copy
items
, soitems
must persist until application exit. - public SList<string> list_ids ()
Retrieves a list of all known stock IDs added to a IconFactory or registered with add.
- public bool lookup (string stock_id, out StockItem item)
Fills
item
with the registered values forstock_id
, returning true ifstock_id
was known. - public void set_translate_func (string domain, owned TranslateFunc func)
Sets a function to be used for translating the
label
of a stock item.