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
-
KlasseBeschreibungDisplays information about a program.An interface for describing UI elements for Assistive Technologies.The common interface for accessible objects.Wraps a list of references to [iface@Gtk.Accessible] objects.An interface for accessible objects containing a numeric value.An interface for accessible objects containing formatted text.The interface vtable for accessible objects containing text.A range inside the text of an accessible object.Provides a way to associate widgets with actions.The interface vtable for `GtkActionable`.Presents contextual actions.Activates a widget.A model for a numeric value.Collects the arguments that are needed to present a message to the user.Combines two shortcut triggers.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.A high-level API for writing applications.A `GtkWindow` subclass that integrates with `GtkApplication`.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`.Communicates with platform-specific assistive technologies API.A layout manager for widgets with a single child.A set of unsigned integers.Iterates over the elements of a [struct@Gtk.Bitset].A list model that wraps `GBookmarkFile`.Evaluates a boolean expression to determine whether to include items.Specifies a border around a rectangular area.Arranges child widgets into a single row or column.Arranges children in a single row or column.Allows objects to extend and customize deserialization from ui files.Contains methods to let `GtkBuilder` construct an object from
a `GtkBuilder` UI definition.A sub-parser for `GtkBuildable` implementations.Reads XML descriptions of a user interface and instantiates the described objects.A `GtkBuilderScope` implementation for the C language.A `GtkListItemFactory` that creates widgets by instantiating `GtkBuilder`
UI templates.Provides language binding support to `GtkBuilder`.The virtual function table to implement for `GtkBuilderScope` implementations.Calls a callback function when the button is clicked.Displays a Gregorian calendar, one month at a time.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`.Arranges three children in a row, keeping the middle child
centered as well as possible.Manages up to three children.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.Asynchronous API to present a color chooser dialog.Opens a color chooser dialog to select a color.Presents a large dynamic list of items using multiple columns with headers.Represents items in a cell in [class@Gtk.ColumnView].`GtkColumnViewColumn` represents the columns being added to a `GtkColumnView`.Configures how rows are displayed in a [class@Gtk.ColumnView].Sorts [class@Gtk.ColumnView] columns.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`.Describes a constraint between attributes of two widgets,
expressed as a linear equation.An invisible layout element in a `GtkConstraintLayout`.Uses constraints to describe relations between widgets.`GtkLayoutChild` subclass for children in a `GtkConstraintLayout`.Makes it possible to use an object as source or target in a
[class@Gtk.Constraint].Points at a location inside a CSS stream.A style provider for CSS.Defines a part of a CSS document.Determines whether to include items with a callback.Uses closures for size negotiation.Sorts items via a callback function.Dialogs are a convenient way to prompt the user for a small amount
of input.A list model that wraps [method@Gio.File.enumerate_children_async].A `GtkRoot` implementation for drag icons.An event controller to initiate Drag-And-Drop operations.Allows drawing with cairo.An event controller tracking the pointer during Drag-and-Drop operations.Allows the user to choose an item from a list of options.An event controller to receive Drag-and-Drop operations.An event controller to receive Drag-and-Drop operations, asynchronously.Interface for single-line text editing widgets.Allows users to edit the displayed text by switching to an “edit mode”.Used by text widgets to let users insert Emoji characters.A single-line text entry widget.Holds the text that is displayed in a single-line text entry widget.Class structure for `GtkEntry`.`GtkEntryCompletion` is an auxiliary object to provide completion functionality
for `GtkEntry`.The base class for event controllers.Tracks keyboard focus.Provides access to key events.Provides raw access to the event stream.Tracks the pointer position.Handles scroll events.Matches an item when each of its filters matches.Allows the user to reveal or conceal a child widget.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.Asynchronous API to present a file chooser dialog.Filters files by name or mime type.Asynchronous API to open a file with an application.Describes the filtering to be performed by a [class@Gtk.FilterListModel].A list model that filters the elements of another model.Places its child widgets at fixed positions and with fixed sizes.Places child widgets at fixed positions.`GtkLayoutChild` subclass for children in a `GtkFixedLayout`.A list model that concatenates other list models.Puts child widgets in a reflowing grid.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.Asynchronous API to present a font chooser dialog.Opens a font chooser dialog to select a font.Surrounds its child with a decorative frame and an optional label.The base class for gesture recognition.Recognizes click gestures.Recognizes drag gestures.Recognizes long press gestures.Recognizes pan gestures.Recognizes 2-finger rotation gestures.A `GtkGesture` subclass optimized for singe-touch and mouse gestures.Recognizes tablet stylus input.Recognizes swipe gestures.Recognizes 2-finger pinch/zoom gestures.Allows drawing with OpenGL.The `GtkGLAreaClass` structure contains only private data.Bypasses gsk rendering by passing the content of its child directly to the compositor.Arranges its child widgets in rows and columns.Arranges child widgets in rows and columns.`GtkLayoutChild` subclass for children in a `GtkGridLayout`.Presents a large dynamic grid of items.Creates a custom titlebar for a window.Contains information found when looking up an icon in `GtkIconTheme`.Loads themed icons.`GtkIconView` is a widget which displays data in a grid of icons.Displays an image.The interface for GTK input methods.Supports compose sequences, dead keys and numeric Unicode input.Supports switching between multiple input methods.`GtkInfoBar` can be used to show messages to the user without a dialog.Shows text in a predefined area.Triggers when a specific keyval and modifiers are pressed.Displays a small amount of text.The base class for objects that are meant to hold layout properties.Handles the preferred size and allocation for children of a widget.The `GtkLayoutManagerClass` structure contains only private data, and
should only be accessed through the provided API, or when subclassing
`GtkLayoutManager`.Shows a level indicator.A button with a hyperlink.The abstract base class for GTK's list widgets.Shows a vertical list.The kind of widget that can be added to a `GtkListBox`.Used by list widgets to represent the headers they display.Used by list widgets to represent items in a [iface@Gio.ListModel].Creates widgets for the items taken from a `GListModel`.A list-like data structure that can be used with the [class@Gtk.TreeView].Presents a large dynamic list of items.`GtkLockButton` is a widget to obtain and revoke authorizations
needed to operate the controls.A list model that maps the items in another model to different items.Shows controls for video playback.Implements the `GtkMediaStream` interface for files.The integration point for media playback inside GTK.Displays a popup when clicked.`GtkMessageDialog` presents a dialog with some message text.Activates a widget with a mnemonic.Triggers when a specific mnemonic is pressed.Asks the user for passwords and other information required to
mount a volume.Base class for filters that combine multiple filters.A selection model that allows selecting multiple elements.Combines multiple sorters by trying them in turn.Activates a named action.An interface for widgets that have their own [class@Gdk.Surface].Base class for platform dialogs that don't use `GtkDialog`.Class structure for `GtkNativeDialog`.A `GtkShortcutTrigger` that never triggers.A selection model that does not allow selecting anything.Switches between children using tabs.An auxiliary object used by `GtkNotebook`.Does nothing.Sorts items numerically.A `GObject` value in a `GtkExpression`.An interface for widgets that can be oriented horizontally or vertically.Places “overlay” widgets on top of a single main child.The layout manager used by [class@Gtk.Overlay].`GtkLayoutChild` subclass for children in a `GtkOverlayLayout`.Struct defining a pad action entry.Handles input from the pads found in drawing tablets.A range of pages to print.Stores page size, orientation and margins for printing.Presents a page setup dialog for platforms which don’t provide
a native page setup dialog, like Unix.Arranges its children in two panes, horizontally or vertically.`GtkPaperSize` handles paper sizes.A `GParamSpec` for properties holding a `GtkExpression`.A single-line text entry widget for entering passwords and other secrets.A `GtkEntryBuffer` that locks the underlying memory to prevent it
from being swapped to disk.Displays a `GdkPaintable`.Presents a bubble-like popup.A subclass of `GtkPopover` that implements menu behavior.Presents a horizontal bar of items that pop up menus when clicked.Encapsulates context information that is required when
drawing pages for printing.Asynchronous API to present a print dialog to the user.Represents a printer.Represents a job that is sent to a printer.High-level, portable printing API.The interface that is used to implement print preview.Collects the settings of a print dialog in a system-independent way.An auxiliary object for printing that allows decoupling the setup from the printing.A print dialog for platforms which don’t provide a native
print dialog, like Unix.Displays the progress of a long-running operation.A `GObject` property value in a `GtkExpression`.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.Contains the metadata associated with an item in the
recently used files list.Manages and looks up recently used files.`GtkRecentManagerClass` contains only private data.Represents a request of a screen object in a given orientation.Represents the desired size of a widget.Animates the transition of its child from invisible to visible.An interface for widgets that can act as the root of a widget hierarchy.Allows to select a numeric value with a slider control.Provides a button which pops up a scale widget.An interface for widgets with native scrolling ability.Shows a horizontal or vertical scrollbar.Makes its child scrollable.Provides detailed information on how a scroll operation should be performed.Reveals a search entry when search is started.A single-line text entry widget for use as a search entry.An interface that adds support for sections to list models.The list of virtual functions for the `GtkSectionModel` interface.A list model that presents the selection from a `GtkSelectionModel`.An interface that adds support for selection to list models.The list of virtual functions for the `GtkSelectionModel` interface.Draws a horizontal or vertical line to separate other widgets.Provides a mechanism to share global settings between applications.Describes a keyboard shortcut.Encodes an action that can be triggered by a keyboard shortcut.Manages keyboard shortcuts and their activation.`GtkShortcutLabel` displays a single keyboard shortcut or gesture.An interface that 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.Tracks how a `GtkShortcut` can be activated.Emits a signal on a widget.A `GtkListItemFactory` that emits signals to manage listitems.A selection model that allows selecting a single item.Groups widgets together so they all request the same size.A list model that presents a slice of another model.Assists in creating [class@Gsk.RenderNode]s for widgets.Describes sorting criteria for a [class@Gtk.SortListModel].The virtual table for `GtkSorter`.A list model that sorts the elements of another model.Allows to enter or change numeric values.Displays an icon-size spinning animation.Shows one of its children at a time.An auxiliary class used by `GtkStack`.Uses a sidebar to switch between `GtkStack` pages.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].Determines whether to include items by comparing strings to a fixed search term.A list model that wraps an array of strings.The type of items in a `GtkStringList`.Sorts items by comparing strings.`GtkStyleContext` stores styling information affecting a widget.An interface for style information used by [class@Gtk.StyleContext].Shows a "light switch" that has two states: on or off.An interface that supports symbolic colors in paintables.The list of virtual functions for the `GtkSymbolicPaintable` interface.A single-line text entry.Stores text and attributes for display in a `GtkTextView`.The class structure for `GtkTextBuffer`.Marks a spot in a `GtkTextBuffer` where child widgets can be “anchored”.Iterates over the contents of a `GtkTextBuffer`.Marks a position in a `GtkTextbuffer` that is preserved
across modifications.Can be applied to text contained in a `GtkTextBuffer`.Collects the tags in a `GtkTextBuffer`.Displays the contents of a [class@Gtk.TextBuffer].Shows a button which remains “pressed-in” when clicked.Represents a widget tooltip.Interface for Drag-and-Drop destinations in `GtkTreeView`.Interface for Drag-and-Drop destinations in `GtkTreeView`.Provides an expander for a tree-like list.The `GtkTreeIter` is the primary structure
for accessing a `GtkTreeModel`.A list model that can create child models on demand.The type of item used by `GtkTreeListModel`.Applies a gives 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 [class@Gtk.TreeView].A widget for displaying both trees and lists
<picture>
<source srcset="list-and-tree-dark.png" media="(prefers-color-scheme: dark)">
<img alt="An example GtkTreeView" src="list-and-tree.png">
</picture>
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.Asynchronous API to open a uri with an application.Shows a `GtkMediaStream` with media controls.Implements scrollability for widgets that don't support scrolling
on their own.`GtkVolumeButton` is a `GtkScaleButton` subclass tailored for
volume control.The base class for all widgets.A `GdkPaintable` that displays the contents of a widget.A toplevel window which can contain other widgets.Shows window frame controls.Creates groups of windows that behave like separate applications.Implements titlebar functionality for a window.