Package ch.bailu.gtk.gtk
package ch.bailu.gtk.gtk
Generated: Gtk 4.0
API Reference Manual: https://docs.gtk.org/}
Functions class:
Constants class:
Generated from: Gtk-4.0.gir
Shared library: libgtk-4.so.1
Configured library: gtk-4
API Reference Manual: https://docs.gtk.org/}
Functions class:
Gtk
Constants class:
GtkConstants
Generated from: Gtk-4.0.gir
Shared library: libgtk-4.so.1
Configured library: gtk-4
-
ClassDescriptionThe `GtkAboutDialog` offers a simple way to display information about
a program.`GtkAccessible` is an interface for describing UI elements for
Assistive Technologies.The `GtkActionable` interface provides a convenient way of asscociating
widgets with actions.The interface vtable for `GtkActionable`.`GtkActionBar` is designed to present contextual actions.A `GtkShortcutAction` that calls gtk_widget_activate().`GtkAdjustment` is a model for a numeric value.A `GtkShortcutTrigger` that combines two triggers.`GtkAnyFilter` matches an item when at least one of its filters matches.`GtkAppChooser` is an interface for widgets which allow the user to
choose an application.The `GtkAppChooserButton` lets the user select an application.`GtkAppChooserDialog` shows a `GtkAppChooserWidget` inside a `GtkDialog`.`GtkAppChooserWidget` is a widget for selecting applications.`GtkApplication` is a high-level API for writing applications.`GtkApplicationWindow` is a `GtkWindow` subclass that integrates with
`GtkApplication`.`GtkAspectFrame` preserves the aspect ratio of its child.`GtkAssistant` is used to represent a complex as a series of steps.`GtkAssistantPage` is an auxiliary object used by `GtkAssistant.`GtkATContext` is an abstract class provided by GTK to communicate to
platform-specific assistive technologies API.`GtkBinLayout` is a `GtkLayoutManager` subclass useful for create "bins" of
widgets.A `GtkBitset` represents a set of unsigned integers.An opaque, stack-allocated struct for iterating
over the elements of a `GtkBitset`.`GtkBookmarkList` is a list model that wraps `GBookmarkFile`.`GtkBoolFilter` evaluates a boolean `GtkExpression`
to determine whether to include items.A struct that specifies a border around a rectangular area.The `GtkBox` widget arranges child widgets into a single row or column.`GtkBoxLayout` is a layout manager that arranges children in a single
row or column.`GtkBuildable` allows objects to extend and customize their deserialization
from ui files.The `GtkBuildableIface` interface contains methods that are
necessary to allow `GtkBuilder` to construct an object from
a `GtkBuilder` UI definition.A sub-parser for `GtkBuildable` implementations.A `GtkBuilder` reads XML descriptions of a user interface and
instantiates the described objects.A `GtkBuilderScope` implementation for the C language.`GtkBuilderListItemFactory` is a `GtkListItemFactory` that creates
widgets by instantiating `GtkBuilder` UI templates.`GtkBuilderScope` is an interface to provide language binding support
to `GtkBuilder`.The virtual function table to implement for `GtkBuilderScope` implementations.The `GtkButton` widget is generally used to trigger a callback function that is
called when the button is pressed.`GtkCalendar` is a widget that displays a Gregorian calendar, one month
at a time.A `GtkShortcutAction` that invokes a callback.A variant of `GtkClosureExpression` using a C closure.An abstract class for laying out `GtkCellRenderer`s
The `GtkCellArea` is an abstract class for [iface@Gtk.CellLayout]
widgets (also referred to as "layouting widgets") to interface with
an arbitrary number of [class@Gtk.CellRenderer]s and interact with the user
for a given [iface@Gtk.TreeModel] row.A cell area that renders GtkCellRenderers into a row or a column
The `GtkCellAreaBox` renders cell renderers into a row or a column
depending on its `GtkOrientation`.Stores geometrical information for a series of rows in a GtkCellArea
The `GtkCellAreaContext` object is created by a given `GtkCellArea`
implementation via its `GtkCellAreaClass.create_context()` virtual
method and is used to store cell sizes and alignments for a series of
`GtkTreeModel` rows that are requested and rendered in the same context.Interface for widgets that can be used for editing cells
The `GtkCellEditable` interface must be implemented for widgets to be usable
to edit the contents of a `GtkTreeView` cell.An interface for packing cells
`GtkCellLayout` is an interface to be implemented by all objects which
want to provide a `GtkTreeViewColumn` like API for packing cells,
setting attributes and data funcs.An object for rendering a single cell
The `GtkCellRenderer` is a base class of a set of objects used for
rendering a cell to a `cairo_t`.Renders a keyboard accelerator in a cell
`GtkCellRendererAccel` displays a keyboard accelerator (i.e. a key
combination like `Control + a`).Renders a combobox in a cell
`GtkCellRendererCombo` renders text in a cell like `GtkCellRendererText` from
which it is derived.Renders a pixbuf in a cell
A `GtkCellRendererPixbuf` can be used to render an image in a cell.Renders numbers as progress bars
`GtkCellRendererProgress` renders a numeric value as a progress par in a cell.Renders a spin button in a cell
`GtkCellRendererSpin` renders text in a cell like `GtkCellRendererText` from
which it is derived.Renders a spinning animation in a cell
`GtkCellRendererSpinner` renders a spinning animation in a cell, very
similar to `GtkSpinner`.Renders text in a cell
A `GtkCellRendererText` renders a given text in its cell, using the font, color and
style information provided by its properties.Renders a toggle button in a cell
`GtkCellRendererToggle` renders a toggle button in a cell.A widget displaying a single row of a GtkTreeModel
A `GtkCellView` displays a single row of a `GtkTreeModel` using a `GtkCellArea`
and `GtkCellAreaContext`.`GtkCenterBox` arranges three children in a row, keeping the middle child
centered as well as possible.`GtkCenterLayout` is a layout manager that manages up to three children.A `GtkCheckButton` places a label next to an indicator.An expression using a custom `GClosure` to compute the value from
its parameters.The `GtkColorButton` allows to open a color chooser dialog to change
the color.`GtkColorChooser` is an interface that is implemented by widgets
for choosing colors.A dialog for choosing a color.The `GtkColorChooserWidget` widget lets the user select a color.`GtkColumnView` presents a large dynamic list of items using multiple columns
with headers.`GtkColumnViewColumn` represents the columns being added to `GtkColumnView`.A `GtkComboBox` is a widget that allows the user to choose from a list of
valid choices.A `GtkComboBoxText` is a simple variant of `GtkComboBox` for text-only
use cases.A constant value in a `GtkExpression`.`GtkConstraint` describes a constraint between attributes of two widgets,
expressed as a linear equation.A `GtkConstraintGuide` is an invisible layout element in a
`GtkConstraintLayout`.A layout manager using constraints to describe relations between widgets.`GtkLayoutChild` subclass for children in a `GtkConstraintLayout`.The `GtkConstraintTarget` interface is implemented by objects that
can be used as source or target in `GtkConstraint`s.Represents a location in a file or other source of data parsed
by the CSS engine.`GtkCssProvider` is an object implementing the `GtkStyleProvider` interface
for CSS.Defines a part of a CSS document.`GtkCustomFilter` determines whether to include items with a callback.`GtkCustomLayout` uses closures for size negotiation.`GtkCustomSorter` is a `GtkSorter` implementation that sorts via a callback
function.Dialogs are a convenient way to prompt the user for a small amount
of input.`GtkDirectoryList` is a list model that wraps g_file_enumerate_children_async().`GtkDragIcon` is a `GtkRoot` implementation for drag icons.`GtkDragSource` is an event controller to initiate Drag-And-Drop operations.`GtkDrawingArea` is a widget that allows drawing with cairo.`GtkDropControllerMotion` is an event controller tracking
the pointer during Drag-and-Drop operations.`GtkDropDown` is a widget that allows the user to choose an item
from a list of options.`GtkDropTarget` is an event controller to receive Drag-and-Drop operations.`GtkDropTargetAsync` is an event controller to receive Drag-and-Drop
operations, asynchronously.`GtkEditable` is an interface for text editing widgets.A `GtkEditableLabel` is a label that allows users to
edit the text by switching to an “edit mode”.The `GtkEmojiChooser` is used by text widgets such as `GtkEntry` or
`GtkTextView` to let users insert Emoji characters.`GtkEntry` is a single line text entry widget.A `GtkEntryBuffer` hold the text displayed in a `GtkText` widget.Class structure for `GtkEntry`.`GtkEntryCompletion` is an auxiliary object to provide completion functionality
for `GtkEntry`.`GtkEventController` is the base class for event controllers.`GtkEventControllerFocus` is an event controller to keep track of
keyboard focus.`GtkEventControllerKey` is an event controller that provides access
to key events.`GtkEventControllerLegacy` is an event controller that provides raw
access to the event stream.`GtkEventControllerMotion` is an event controller tracking the pointer
position.`GtkEventControllerScroll` is an event controller that handles scroll
events.`GtkEveryFilter` matches an item when each of its filters matches.`GtkExpander` allows the user to reveal its child by clicking
on an expander triangle.`GtkExpression` provides a way to describe references to values.An opaque structure representing a watched `GtkExpression`.`GtkFileChooser` is an interface that can be implemented by file
selection widgets.`GtkFileChooserDialog` is a dialog suitable for use with
“File Open” or “File Save” commands.`GtkFileChooserNative` is an abstraction of a dialog suitable
for use with “File Open” or “File Save as” commands.`GtkFileChooserWidget` is a widget for choosing files.`GtkFileFilter` filters files by name or mime type.A `GtkFilter` object describes the filtering to be performed by a
[class@Gtk.FilterListModel].`GtkFilterListModel` is a list model that filters the elements of
the underlying model according to a `GtkFilter`.`GtkFixed` places its child widgets at fixed positions and with fixed sizes.`GtkFixedLayout` is a layout manager which can place child widgets
at fixed positions.`GtkLayoutChild` subclass for children in a `GtkFixedLayout`.`GtkFlattenListModel` is a list model that concatenates other list models.A `GtkFlowBox` puts child widgets in reflowing grid.`GtkFlowBoxChild` is the kind of widget that can be added to a `GtkFlowBox`.The `GtkFontButton` allows to open a font chooser dialog to change
the font.`GtkFontChooser` is an interface that can be implemented by widgets
for choosing fonts.The `GtkFontChooserDialog` widget is a dialog for selecting a font.The `GtkFontChooserWidget` widget lets the user select a font.`GtkFrame` is a widget that surrounds its child with a decorative
frame and an optional label.`GtkGesture` is the base class for gesture recognition.`GtkGestureClick` is a `GtkGesture` implementation for clicks.`GtkGestureDrag` is a `GtkGesture` implementation for drags.`GtkGestureLongPress` is a `GtkGesture` for long presses.`GtkGesturePan` is a `GtkGesture` for pan gestures.`GtkGestureRotate` is a `GtkGesture` for 2-finger rotations.`GtkGestureSingle` is a `GtkGestures` subclass optimized for singe-touch
and mouse gestures.`GtkGestureStylus` is a `GtkGesture` specific to stylus input.`GtkGestureSwipe` is a `GtkGesture` for swipe gestures.`GtkGestureZoom` is a `GtkGesture` for 2-finger pinch/zoom gestures.`GtkGLArea` is a widget that allows drawing with OpenGL.The `GtkGLAreaClass` structure contains only private data.`GtkGrid` is a container which arranges its child widgets in
rows and columns.`GtkGridLayout` is a layout manager which arranges child widgets in
rows and columns.`GtkLayoutChild` subclass for children in a `GtkGridLayout`.`GtkGridView` presents a large dynamic grid of items.`GtkHeaderBar` is a widget for creating custom title bars for windows.Contains information found when looking up an icon in `GtkIconTheme`.`GtkIconTheme` provides a facility for loading themed icons.`GtkIconView` is a widget which displays data in a grid of icons.The `GtkImage` widget displays an image.`GtkIMContext` defines the interface for GTK input methods.`GtkIMContextSimple` is an input method supporting table-based input methods.`GtkIMMulticontext` is an input method context supporting multiple,
switchable input methods.`GtkInfoBar` can be show messages to the user without a dialog.`GtkInscription` is a widget to show text in a predefined area.A `GtkShortcutTrigger` that triggers when a specific keyval and modifiers are pressed.The `GtkLabel` widget displays a small amount of text.`GtkLayoutChild` is the base class for objects that are meant to hold
layout properties.Layout managers are delegate classes that handle the preferred size
and the allocation of a widget.The `GtkLayoutManagerClass` structure contains only private data, and
should only be accessed through the provided API, or when subclassing
`GtkLayoutManager`.`GtkLevelBar` is a widget that can be used as a level indicator.A `GtkLinkButton` is a button with a hyperlink.`GtkListBase` is the abstract base class for GTK's list widgets.`GtkListBox` is a vertical list.`GtkListBoxRow` is the kind of widget that can be added to a `GtkListBox`.`GtkListItem` is used by list widgets to represent items in a `GListModel`.A `GtkListItemFactory` creates widgets for the items taken from a `GListModel`.A list-like data structure that can be used with the [class@Gtk.TreeView].`GtkListView` presents a large dynamic list of items.`GtkLockButton` is a widget to obtain and revoke authorizations
needed to operate the controls.A `GtkMapListModel` maps the items in a list model to different items.`GtkMediaControls` is a widget to show controls for a video.`GtkMediaFile` implements `GtkMediaStream` for files.`GtkMediaStream` is the integration point for media playback inside GTK.The `GtkMenuButton` widget is used to display a popup when clicked.`GtkMessageDialog` presents a dialog with some message text.A `GtkShortcutAction` that calls gtk_widget_mnemonic_activate().A `GtkShortcutTrigger` that triggers when a specific mnemonic is pressed.`GtkMountOperation` is an implementation of `GMountOperation`.`GtkMultiFilter` is the base class for filters that combine multiple filters.`GtkMultiSelection` is a `GtkSelectionModel` that allows selecting multiple
elements.`GtkMultiSorter` combines multiple sorters by trying them
in turn.A `GtkShortcutAction` that activates an action by name.`GtkNative` is the interface implemented by all widgets that have
their own `GdkSurface`.Native dialogs are platform dialogs that don't use `GtkDialog`.Class structure for `GtkNativeDialog`.A `GtkShortcutTrigger` that never triggers.`GtkNoSelection` is a `GtkSelectionModel` that does not allow selecting
anything.`GtkNotebook` is a container whose children are pages switched
between using tabs.`GtkNotebookPage` is an auxiliary object used by `GtkNotebook`.A `GtkShortcutAction` that does nothing.`GtkNumericSorter` is a `GtkSorter` that compares numbers.A `GObject` value in a `GtkExpression`.The `GtkOrientable` interface is implemented by all widgets that can be
oriented horizontally or vertically.`GtkOverlay` is a container which contains a single main child, on top
of which it can place “overlay” widgets.`GtkOverlayLayout` is the layout manager used by `GtkOverlay`.`GtkLayoutChild` subclass for children in a `GtkOverlayLayout`.Struct defining a pad action entry.`GtkPadController` is an event controller for the pads found in drawing
tablets.A range of pages to print.A `GtkPageSetup` object stores the page size, orientation and margins.`GtkPageSetupUnixDialog` implements a page setup dialog for platforms
which don’t provide a native page setup dialog, like Unix.A widget with two panes, arranged either horizontally or vertically.`GtkPaperSize` handles paper sizes.A `GParamSpec` for properties holding a `GtkExpression`.`GtkPasswordEntry` is an entry that has been tailored for entering secrets.A `GtkEntryBuffer` that locks the underlying memory to prevent it
from being swapped to disk.The `GtkPicture` widget displays a `GdkPaintable`.`GtkPopover` is a bubble-like context popup.`GtkPopoverMenu` is a subclass of `GtkPopover` that implements menu
behavior.`GtkPopoverMenuBar` presents a horizontal bar of items that pop
up popover menus when clicked.A `GtkPrintContext` encapsulates context information that is required when
drawing pages for printing.A `GtkPrinter` object represents a printer.A `GtkPrintJob` object represents a job that is sent to a printer.`GtkPrintOperation` is the high-level, portable printing API.`GtkPrintOperationPreview` is the interface that is used to
implement print preview.A `GtkPrintSettings` object represents the settings of a print dialog in
a system-independent way.`GtkPrintUnixDialog` implements a print dialog for platforms
which don’t provide a native print dialog, like Unix.`GtkProgressBar` is typically used to display the progress of a long
running operation.A `GObject` property value in a `GtkExpression`.`GtkRange` is the common base class for widgets which visualize an
adjustment.Meta-data to be passed to gtk_recent_manager_add_full() when
registering a recently used resource.`GtkRecentInfo` contains the metadata associated with an item in the
recently used files list.`GtkRecentManager` manages and looks up recently used files.`GtkRecentManagerClass` contains only private data.Represents a request of a screen object in a given orientation.A `GtkRequisition` represents the desired size of a widget.A `GtkRevealer` animates the transition of its child from invisible to visible.`GtkRoot` is the interface implemented by all widgets that can act as a toplevel
widget.A `GtkScale` is a slider control used to select a numeric value.`GtkScaleButton` provides a button which pops up a scale widget.`GtkScrollable` is an interface for widgets with native scrolling ability.The `GtkScrollbar` widget is a horizontal or vertical scrollbar.`GtkScrolledWindow` is a container that makes its child scrollable.`GtkSearchBar` is a container made to have a search entry.`GtkSearchEntry` is an entry widget that has been tailored for use
as a search entry.`GtkSelectionFilterModel` is a list model that presents the selection from
a `GtkSelectionModel`.`GtkSelectionModel` is an interface that add support for selection to list models.The list of virtual functions for the `GtkSelectionModel` interface.`GtkSeparator` is a horizontal or vertical separator widget.`GtkSettings` provides a mechanism to share global settings between
applications.A `GtkShortcut` describes a keyboard shortcut.`GtkShortcutAction` encodes an action that can be triggered by a
keyboard shortcut.`GtkShortcutController` is an event controller that manages shortcuts.`GtkShortcutLabel` displays a single keyboard shortcut or gesture.The `GtkShortcutManager` interface is used to implement
shortcut scopes.The list of functions that can be implemented for the `GtkShortcutManager`
interface.A `GtkShortcutsGroup` represents a group of related keyboard shortcuts
or gestures.A `GtkShortcutsSection` collects all the keyboard shortcuts and gestures
for a major application mode.A `GtkShortcutsShortcut` represents a single keyboard shortcut or gesture
with a short text.A `GtkShortcutsWindow` shows information about the keyboard shortcuts
and gestures of an application.`GtkShortcutTrigger` tracks how a `GtkShortcut` should be activated.A `GtkShortcut`Action that emits a signal.`GtkSignalListItemFactory` is a `GtkListItemFactory` that emits signals
to to manage listitems.`GtkSingleSelection` is a `GtkSelectionModel` that allows selecting a single
item.`GtkSizeGroup` groups widgets together so they all request the same size.`GtkSliceListModel` is a list model that presents a slice of another model.`GtkSnapshot` assists in creating [class@Gsk.RenderNode]s for widgets.`GtkSorter` is an object to describe sorting criteria.The virtual table for `GtkSorter`.A `GListModel` that sorts the elements of an underlying model
according to a `GtkSorter`.A `GtkSpinButton` is an ideal way to allow the user to set the
value of some attribute.A `GtkSpinner` widget displays an icon-size spinning animation.`GtkStack` is a container which only shows one of its children
at a time.`GtkStackPage` is an auxiliary class used by `GtkStack`.A `GtkStackSidebar` uses a sidebar to switch between `GtkStack` pages.The `GtkStackSwitcher` shows a row of buttons to switch between `GtkStack`
pages.A `GtkStatusbar` widget is usually placed along the bottom of an application's
main [class@Gtk.Window].`GtkStringFilter` determines whether to include items by comparing
strings to a fixed search term.`GtkStringList` is a list model that wraps an array of strings.`GtkStringObject` is the type of items in a `GtkStringList`.`GtkStringSorter` is a `GtkSorter` that compares strings.`GtkStyleContext` stores styling information affecting a widget.`GtkStyleProvider` is an interface for style information used by
`GtkStyleContext`.`GtkSwitch` is a "light switch" that has two states: on or off.`GtkSymbolicPaintable` is an interface that support symbolic colors in
paintables.The list of virtual functions for the `GtkSymbolicPaintable` interface.The `GtkText` widget is a single-line text entry widget.Stores text and attributes for display in a `GtkTextView`.The class structure for `GtkTextBuffer`.A `GtkTextChildAnchor` is a spot in a `GtkTextBuffer` where child widgets can
be “anchored”.An iterator for the contents of a `GtkTextBuffer`.A `GtkTextMark` is a position in a `GtkTextbuffer` that is preserved
across modifications.A tag that can be applied to text contained in a `GtkTextBuffer`.The collection of tags in a `GtkTextBuffer`
You may wish to begin by reading the
[text widget conceptual overview](section-text-widget.html),
which gives an overview of all the objects and data types
related to the text widget and how they work together.A widget that displays the contents of a [class@Gtk.TextBuffer].A `GtkToggleButton` is a button which remains “pressed-in” when
clicked.`GtkTooltip` is an object representing a widget tooltip.Interface for Drag-and-Drop destinations in `GtkTreeView`.Interface for Drag-and-Drop destinations in `GtkTreeView`.`GtkTreeExpander` is a widget that provides an expander for a list.The `GtkTreeIter` is the primary structure
for accessing a `GtkTreeModel`.`GtkTreeListModel` is a list model that can create child models on demand.`GtkTreeListRow` is used by `GtkTreeListModel` to represent items.`GtkTreeListRowSorter` is a special-purpose sorter that will apply a given
sorter to the levels in a tree.The tree interface used by GtkTreeView
The `GtkTreeModel` interface defines a generic tree interface for
use by the `GtkTreeView` widget.A `GtkTreeModel` which hides parts of an underlying tree model
A `GtkTreeModelFilter` is a tree model which wraps another tree model,
and can do the following things:
- Filter specific rows, based on data from a “visible column”, a column
storing booleans indicating whether the row should be filtered or not,
or based on the return value of a “visible function”, which gets a
model, iter and user_data and returns a boolean indicating whether the
row should be filtered or not.A GtkTreeModel which makes an underlying tree model sortable
The `GtkTreeModelSort` is a model which implements the `GtkTreeSortable`
interface.An opaque structure representing a path to a row in a model.A GtkTreeRowReference tracks model changes so that it always refers to the
same row (a `GtkTreePath` refers to a position, not a fixed row).The selection object for GtkTreeView
The `GtkTreeSelection` object is a helper object to manage the selection
for a `GtkTreeView` widget.The interface for sortable models used by GtkTreeView
`GtkTreeSortable` is an interface to be implemented by tree models which
support sorting.A tree-like data structure that can be used with the GtkTreeView
The `GtkTreeStore` object is a list model for use with a `GtkTreeView`
widget.A widget for displaying both trees and lists
Widget that displays any object that implements the [iface@Gtk.TreeModel] interface.A visible column in a [class@Gtk.TreeView] widget
The `GtkTreeViewColumn` object represents a visible column in a `GtkTreeView` widget.`GtkVideo` is a widget to show a `GtkMediaStream` with media controls.`GtkViewport` implements scrollability for widgets that lack their
own scrolling capabilities.`GtkVolumeButton` is a `GtkScaleButton` subclass tailored for
volume control.The base class for all widgets.`GtkWidgetPaintable` is a `GdkPaintable` that displays the contents
of a widget.A `GtkWindow` is a toplevel window which can contain other widgets.`GtkWindowControls` shows window frame controls.`GtkWindowGroup` makes group of windows behave like separate applications.`GtkWindowHandle` is a titlebar area widget.