Gtk4 Reference
Public interface
Base.parent
— Functionparent(w::GtkWidget)
Returns the parent widget of w
, or nothing
if the widget has not been set as the child of another widget (or is a toplevel widget, like a GtkWindow
).
See also toplevel
.
Related GTK function: gtk_widget_get_parent
()
Base.show
— MethodCairo.destroy
— MethodGraphics.height
— Functionheight(w::GtkWidget)
Returns the allocated height of w
in pixels.
Related GTK function: gtk_widget_get_allocated_height
()
Graphics.width
— Functionwidth(w::GtkWidget)
Returns the allocated width of w
in pixels.
Related GTK function: gtk_widget_get_allocated_width
()
Gtk4.activate
— Methodactivate(w::GtkWidget)
Activates widgets like buttons, menu items, etc. that support being activated. Returns false
if the widget is not activatable.
Related GTK function: gtk_widget_activate
()
Gtk4.ask_dialog
— Functionask_dialog(question::AbstractString, parent = nothing; timeout = -1)
Create a dialog with a message question
and two buttons "No" and "Yes". Returns true
if "Yes" is selected and false
if "No" is selected or the dialog (or its parent window parent
) is closed. The optional input timeout
(disabled by default) can be used to set a time in seconds after which the dialog will close and false
will be returned.
Gtk4.buffer
— Methodbuffer(iter::Union{Ref{_GtkTextIter}, _GtkTextIter})
Returns the buffer associated with iter
.
Gtk4.configure!
— Methodconfigure!(adj::GtkAdjustment; value = nothing, lower = nothing, upper = nothing, step_increment = nothing, page_increment = nothing, page_size = nothing)
Sets all properties of an adjustment, while only resulting in one emission of the changed
signal. If an argument is nothing
, it is not changed.
Related GTK function: gtk_adjustment_configure
()
Gtk4.configure!
— Methodconfigure!(sb::GtkSpinButton; adj = nothing, climb_rate = nothing, digits = nothing)
Sets the adjustment adj
, the climb_rate
, and the number of digits
of a GtkSpinButton
. If an argument is nothing
, it is not changed.
Related GTK function: gtk_spin_button_configure
()
Gtk4.create_mark
— Methodcreate_mark(buffer::GtkTextBuffer, mark_name, it::TI, left_gravity::Bool)
create_mark(buffer::GtkTextBuffer, it::TI)
Impements gtk_text_buffer_create_mark
.
Gtk4.cursor
— FunctionGtk4.cursor
— Methodcursor(w::GtkWidget, c)
Sets a cursor c
when the mouse pointer is over a widget w
, where c
can be a GdkCursor
or a string to specify a name. If c
is nothing
, use the default cursor for w
.
Related GTK functions: gtk_widget_set_cursor
(), gtk_widget_set_cursor_from_name
()
Gtk4.fullscreen
— Methodfullscreen(win::GtkWindow, mon::GdkMonitor)
Set win
to fullscreen mode on a particular monitor mon.
The windowing system (outside GTK's control) may not allow this, so it may not work on some platforms.
See also unfullscreen
.
Related GTK function: gtk_window_fullscreen_on_monitor
()
Gtk4.fullscreen
— Methodfullscreen(win::GtkWindow)
Set win
to fullscreen mode.
See also unfullscreen
.
Related GTK function: gtk_window_fullscreen
()
Gtk4.get_error
— Methodget_error(w::GtkGLArea)
Gets the current error set on w
.
Related GTK function: gtk_gl_area_get_error
()
Gtk4.grab_focus
— Methodgrab_focus(w::GtkWidget)
Gives w
the keyboard focus for the window it is in. Returns false
if this fails.
Related GTK function: gtk_widget_grab_focus
()
Gtk4.hasparent
— MethodGtk4.hide
— Methodhide(w::GtkWidget)
Flag w
to be hidden and return w
. This is the opposite of show
.
Related GTK function: gtk_widget_hide
()
Gtk4.info_dialog
— Functioninfo_dialog(message::AbstractString, parent = nothing; timeout = -1)
Create a dialog with an informational message message
. Returns when the dialog (or its parent window parent
) is closed. The optional input timeout
(disabled by default) can be used to set a time in seconds after which the dialog will close and false
will be returned.
Gtk4.input_dialog
— Functioninput_dialog(message::AbstractString, entry_default::AbstractString, buttons = (("Cancel", 0), ("Accept", 1)), parent = nothing; timeout = -1)
Create a dialog with a message message
and a text entry. Returns the string in the entry when the "Accept" button is pressed, or entry_default
if "Cancel" is pressed or the dialog or its parent window parent
is closed. The optional input timeout
(disabled by default) can be used to set a time in seconds after which the dialog will close and entry_default
will be returned.
Gtk4.isvisible
— Methodisvisible(w::GtkWidget) -> Bool
Returns whether w
and all of its parents are marked as visible.
Related GTK function: gtk_widget_is_visible
()
Gtk4.make_current
— Methodmake_current(w::GtkGLArea)
Ensures that the GdkGLContext
used by area is associated with the GtkGLArea
.
Related GTK function: gtk_gl_area_make_current
()
Gtk4.maximize
— Methodmaximize(win::GtkWindow)
Request that the window win
be maximized.
See also unmaximize
.
Related GTK function: gtk_window_maximize
()
Gtk4.open_dialog
— Functionopen_dialog(title::AbstractString, parent = nothing, filters::Union{AbstractVector, Tuple} = String[]; timeout = -1, multiple = false, start_folder = "")
Create a dialog for choosing a file or folder to be opened. Returns the path chosen by the user, or "" if "Cancel" is pressed or the dialog or its parent window parent
is closed. The dialog title is set using title
. The argument filters
can be used to show only directory contents that match certain file extensions.
Keyword arguments: timeout
: The optional input timeout
(disabled by default) can be used to set a time in seconds after which the dialog will close and "" will be returned. multiple
: if true
, multiple files can be selected, and a list of file paths is returned rather than a single path. start_folder
: if set, the dialog will start out browsing a particular folder. Otherwise GTK will decide.
Gtk4.place_cursor
— Methodplace_cursor(buffer::GtkTextBuffer, it::_GtkTextIter)
place_cursor(buffer::GtkTextBuffer, pos::Int)
Place the cursor at indicated position.
Gtk4.present
— Methodpresent(win::GtkWindow)
present(win::GtkWindow, timestamp)
Presents a window to the user. Usually means move it to the front. According to the GTK docs, this function "should not be used" without including a timestamp for the user's request.
Related GTK function: gtk_window_present
() Related GTK function: gtk_window_present_with_time
()
Gtk4.queue_render
— Methodqueue_render(w::GtkGLArea)
Queues a redraw of the widget.
Related GTK function: gtk_gl_area_queue_render
()
Gtk4.reveal
— Methodreveal(w::GtkGLArea)
Triggers a redraw of a widget by calling GTK's gtk_glarea_queue_render
.
Related GTK function: gtk_gl_area_queue_render
()
Gtk4.reveal
— Methodreveal(w::GtkWidget)
Triggers a redraw of a widget by calling GTK's gtk_widget_queue_draw
.
Related GTK function: gtk_widget_queue_draw
())
Gtk4.save_dialog
— Functionsave_dialog(title::AbstractString, parent = nothing, filters::Union{AbstractVector, Tuple} = String[]; timeout = -1, start_folder = "")
Create a dialog for choosing a file to be saved to. Returns the path chosen by the user, or "" if "Cancel" is pressed or the dialog or its parent window parent
is closed. The window title is set using title
. The argument filters
can be used to show only directory contents that match certain file extensions.
Keyword arguments: timeout
: The optional input timeout
(disabled by default) can be used to set a time in seconds after which the dialog will close and "" will be returned. start_folder
: if set, the dialog will start out browsing a particular folder. Otherwise GTK will decide.
Gtk4.screen_size
— Functionscreen_size(widget=nothing)
Returns a tuple (width,height)
that gives the primary monitor size for the display where widget
is being displayed, or the default display if widget
is unrealized or not given.
Gtk4.scroll_to
— Methodscroll_to(view::GtkTextView, mark::GtkTextMark, within_margin::Real,
use_align::Bool, xalign::Real, yalign::Real)
scroll_to(view::GtkTextView, iter::TI, within_margin::Real,
use_align::Bool, xalign::Real, yalign::Real)
Implements gtk_text_view_scroll_to_mark
and gtk_text_view_scroll_to_iter
.
Gtk4.search
— Functionsearch(buffer::GtkTextBuffer, str::AbstractString, direction = :forward,
flag = GtkTextSearchFlags.GTK_TEXT_SEARCH_TEXT_ONLY)
Search text str
in buffer in direction
:forward or :backward starting from the cursor position in the buffer.
Returns a tuple (found, start, stop)
where found
indicates whether the search was successful and start
and stop
are _GtkTextIters containing the location of the match.
Gtk4.select_range
— Methodselect_range(buffer::GtkTextBuffer, ins::TI, bound::TI)
select_range(buffer::GtkTextBuffer, range::GtkTextRange)
Select the text in buffer
accorind to _GtkTextIter ins
and bound
.
Implements gtk_text_buffer_select_range
.
Gtk4.selection_bounds
— Methodselection_bounds(buffer::GtkTextBuffer)
Returns a tuple (selected, start, stop)
indicating if text is selected in the buffer
, and if so sets the _GtkTextIter start
and stop
to point to the selected text.
Implements gtk_text_buffer_get_selection_bounds
.
Gtk4.toplevel
— Methodtoplevel(w::GtkWidget)
Returns the topmost ancestor of w
, which in most cases will be a GtkWindow
.
See also parent
.
Related GTK function: gtk_widget_get_root
()
Gtk4.unfullscreen
— Methodunfullscreen(win::GtkWindow)
If win
is in fullscreen mode, return it to normal mode.
See also fullscreen
.
Related GTK function: gtk_window_unfullscreen
()
Gtk4.unmaximize
— Methodunmaximize(win::GtkWindow)
If win
is maximized, return it to its former size.
See also maximize
.
Related GTK function: gtk_window_unmaximize
()
Gtk4.visible
— Methodvisible(w::GtkWidget, state::Bool)
Control visibility of w
. Note that w
will not be visible unless its parent is also visible.
Related GTK function: gtk_widget_set_visible
()
Gtk4.widget
— Functionwidget(c::GtkEventController)
Returns the widget associated with an event controller.
Gtk4.@load_builder
— Macro@load_builder(b::GtkBuilder)
Loads all GtkBuildable objects from a GtkBuilder object and assigns them to Julia variables in the current scope. GtkBuilder ID's are mapped onto Julia variable names.
Private methods
Gtk4.BlendMode
— TypeThe blend modes available for render nodes.
Details can be found in the GTK docs.
Gtk4.Corner
— TypeThe corner indices used by GskRoundedRect
.
Details can be found in the GTK docs.
Gtk4.GLUniformType
— TypeThis defines the types of the uniforms that GskGLShaders
declare.
Details can be found in the GTK docs.
Gtk4.RenderNodeType
— TypeThe type of a node determines what the node is rendering.
Details can be found in the GTK docs.
Gtk4.ScalingFilter
— TypeThe filters used when scaling texture data.
Details can be found in the GTK docs.
Gtk4.SerializationError
— TypeErrors that can happen during (de)serialization.
Details can be found in the GTK docs.
Gtk4.TransformCategory
— TypeThe categories of matrices relevant for GSK and GTK.
Details can be found in the GTK docs.
Base.close
— MethodBase.skip
— Methodskip(iter::Ref{_GtkTextIter}, count::Integer, what::Symbol)
Moves iter
according to the operation specified by what
and count
. Operations are :
:chars
(gtk_text_iter_forward_chars
):lines
(gtk_text_iter_forward_lines
):words
(gtk_text_iter_forward_word_ends
):word_cursor_positions
(gtk_text_iter_forward_cursor_positions
):sentences
(gtk_text_iter_forward_sentence_ends
):visible_words
(gtk_text_iter_forward_visible_word_ends
):visible_cursor_positions
(gtk_text_iter_forward_visible_cursor_positions
):visible_lines
(gtk_text_iter_forward_visible_lines
):line_ends
(gtk_text_iter_forward_visible_lines
)
Base.skip
— Methodskip(iter::Ref{_GtkTextIter}, count::Integer)
Moves iter
count
characters. Returns a Bool indicating if the move was successful.
Base.skip
— Methodskip(iter::Ref{_GtkTextIter}, what::Symbol)
Moves iter
according to the operation specified by what
. Operations are :
:forward_line
(gtk_text_iter_forward_line
):backward_line
(gtk_text_iter_backward_line
):forward_to_line_end
(gtk_text_iter_forward_to_line_end
):backward_word_start
(gtk_text_iter_forward_word_end
):forward_word_end
(gtk_text_iter_backward_word_start
):backward_sentence_start
(gtk_text_iter_backward_sentence_start
):forward_sentence_end
(gtk_text_iter_forward_sentence_end
)
Gtk4.backward_search
— Methodbackward_search(iter::Ref{_GtkTextIter},
str::AbstractString, start::Ref{_GtkTextIter},
stop::Ref{_GtkTextIter}, limit::Ref{_GtkTextIter}, flag::Int32)
Implements gtk_text_iter_backward_search
.
Gtk4.buffer_to_window_coords
— Functionbuffer_to_window_coords(view::GtkTextView, buffer_x::Integer, buffer_y::Integer, wintype::Integer = 0)
Implements gtk_text_view_buffer_to_window_coords
.
Gtk4.char_offset
— Methodchar_offset(iter::Union{Ref{_GtkTextIter}, _GtkTextIter})
Returns the offset of iter
(one-based index).
Gtk4.display
— Functiondisplay(w::GtkWidget)
Gets the GdkDisplay
for w
. Should only be called if w
has been added to a widget hierarchy.
Related GTK function: gtk_widget_get_display
()
Gtk4.find_controller
— Methodfind_controller(w::GtkWidget, ::Type{T}) where T <: GtkEventController
Returns an event controller of type T connected to a widget, or nothing if one doesn't exist. This function is intended for testing purposes (to simulate events) and is not recommended otherwise, as there is a performance penalty for creating a list of a widget's event controllers.
Related GTK function: gtk_widget_observe_controllers
)
Gtk4.forward_search
— Methodforward_search(iter::Ref{_GtkTextIter},
str::AbstractString, start::Ref{_GtkTextIter},
stop::Ref{_GtkTextIter}, limit::Ref{_GtkTextIter}, flag::Int32)
Implements gtk_text_iter_forward_search
.
Gtk4.isfullscreen
— Methodisfullscreen(win::GtkWindow)
Get whether win
is in fullscreen mode.
See also fullscreen
.
Related GTK function: gtk_window_is_fullscreen
()
Gtk4.monitor
— Methodmonitor(w::GtkWidget)
Gets the GdkMonitor
where w
is displayed, or nothing
if the widget is not part of a widget hierarchy.
Gtk4.monitors
— Methodmonitors()
Returns a list of GdkMonitor
s for the default GdkDisplay
, or nothing
if none are found.
Gtk4.size_request
— Methodsize_request(w::GtkWidget, s)
Set the minimum size w
to s
, which should be a tuple (width, height).
Related GTK function: gtk_widget_set_size_request
()
Gtk4.text_iter_at_position
— Methodtext_iter_at_position(view::GtkTextView, x::Integer, y::Integer)
Implements gtk_text_view_get_iter_at_position
.
Gtk4.window_to_buffer_coords
— Functionwindow_to_buffer_coords(view::GtkTextView, window_x::Integer, window_y::Integer, wintype::Integer = 2)
Implements gtk_text_view_window_to_buffer_coords
.
Types
Gtk4.AccessibleAutocomplete
— TypeThe possible values for the %GTKACCESSIBLEPROPERTY_AUTOCOMPLETE accessible property.
Details can be found in the GTK docs.
Gtk4.AccessibleInvalidState
— TypeThe possible values for the %GTKACCESSIBLESTATE_INVALID accessible state.
Details can be found in the GTK docs.
Gtk4.AccessibleProperty
— TypeThe possible accessible properties of a [iface@Accessible].
Details can be found in the GTK docs.
Gtk4.AccessibleRelation
— TypeThe possible accessible relations of a [iface@Accessible].
Details can be found in the GTK docs.
Gtk4.AccessibleRole
— TypeThe accessible role for a [iface@Accessible] implementation.
Details can be found in the GTK docs.
Gtk4.AccessibleSort
— TypeThe possible values for the %GTKACCESSIBLEPROPERTY_SORT accessible property.
Details can be found in the GTK docs.
Gtk4.AccessibleState
— TypeThe possible accessible states of a [iface@Accessible].
Details can be found in the GTK docs.
Gtk4.AccessibleTristate
— TypeThe possible values for the %GTKACCESSIBLESTATE_PRESSED accessible state.
Details can be found in the GTK docs.
Gtk4.Align
— TypeControls how a widget deals with extra space in a single dimension.
Details can be found in the GTK docs.
Gtk4.AnchorHints
— TypePositioning hints for aligning a surface relative to a rectangle.
Details can be found in the GTK docs.
Gtk4.ApplicationInhibitFlags
— TypeTypes of user actions that may be blocked by GtkApplication
.
Details can be found in the GTK docs.
Gtk4.ArrowType
— TypeUsed to indicate the direction in which an arrow should point.
Details can be found in the GTK docs.
Gtk4.AssistantPageType
— TypeDetermines the page role inside a GtkAssistant
.
Details can be found in the GTK docs.
Gtk4.AxisFlags
— TypeFlags describing the current capabilities of a device/tool.
Details can be found in the GTK docs.
Gtk4.AxisUse
— TypeDefines how device axes are interpreted by GTK.
Details can be found in the GTK docs.
Gtk4.BaselinePosition
— TypeBaseline position in a row of widgets.
Details can be found in the GTK docs.
Gtk4.BorderStyle
— TypeDescribes how the border of a UI element should be rendered.
Details can be found in the GTK docs.
Gtk4.BuilderClosureFlags
— TypeThe list of flags that can be passed to gtkbuildercreate_closure().
Details can be found in the GTK docs.
Gtk4.BuilderError
— TypeError codes that identify various errors that can occur while using GtkBuilder
.
Details can be found in the GTK docs.
Gtk4.ButtonsType
— TypePrebuilt sets of buttons for GtkDialog
.
Details can be found in the GTK docs.
Gtk4.CellRendererAccelMode
— TypeThe available modes for [property@Gtk.CellRendererAccel:accel-mode].
Details can be found in the GTK docs.
Gtk4.CellRendererMode
— TypeIdentifies how the user can interact with a particular cell.
Details can be found in the GTK docs.
Gtk4.CellRendererState
— TypeTells how a cell is to be rendered.
Details can be found in the GTK docs.
Gtk4.ConstraintAttribute
— TypeThe widget attributes that can be used when creating a [class@Constraint].
Details can be found in the GTK docs.
Gtk4.ConstraintRelation
— TypeThe relation between two terms of a constraint.
Details can be found in the GTK docs.
Gtk4.ConstraintStrength
— TypeThe strength of a constraint, expressed as a symbolic constant.
Details can be found in the GTK docs.
Gtk4.ConstraintVflParserError
— TypeDomain for VFL parsing errors.
Details can be found in the GTK docs.
Gtk4.ContentFit
— TypeControls how a content should be made to fit inside an allocation.
Details can be found in the GTK docs.
Gtk4.CornerType
— TypeSpecifies which corner a child widget should be placed in when packed into a GtkScrolledWindow.
Details can be found in the GTK docs.
Gtk4.CrossingMode
— TypeSpecifies the crossing mode for enter and leave events.
Details can be found in the GTK docs.
Gtk4.CssParserError
— TypeErrors that can occur while parsing CSS.
Details can be found in the GTK docs.
Gtk4.CssParserWarning
— TypeWarnings that can occur while parsing CSS.
Details can be found in the GTK docs.
Gtk4.DebugFlags
— TypeFlags to use with gtksetdebug_flags().
Details can be found in the GTK docs.
Gtk4.DeleteType
— TypePassed to various keybinding signals for deleting text.
Details can be found in the GTK docs.
Gtk4.DevicePadFeature
— TypeA pad feature.
Details can be found in the GTK docs.
Gtk4.DeviceToolType
— TypeIndicates the specific type of tool being used being a tablet. Such as an airbrush, pencil, etc.
Details can be found in the GTK docs.
Gtk4.DialogFlags
— TypeFlags used to influence dialog construction.
Details can be found in the GTK docs.
Gtk4.DirectionType
— TypeFocus movement types.
Details can be found in the GTK docs.
Gtk4.DragAction
— TypeUsed in GdkDrop
and GdkDrag
to indicate the actions that the destination can and should do with the dropped data.
Details can be found in the GTK docs.
Gtk4.DragCancelReason
— TypeUsed in GdkDrag
to the reason of a cancelled DND operation.
Details can be found in the GTK docs.
Gtk4.EditableProperties
— TypeThe identifiers for [iface@Gtk.Editable] properties.
Details can be found in the GTK docs.
Gtk4.EntryIconPosition
— TypeSpecifies the side of the entry at which an icon is placed.
Details can be found in the GTK docs.
Gtk4.EventControllerScrollFlags
— TypeDescribes the behavior of a GtkEventControllerScroll
.
Details can be found in the GTK docs.
Gtk4.EventSequenceState
— TypeDescribes the state of a [struct@Gdk.EventSequence] in a [class@Gesture].
Details can be found in the GTK docs.
Gtk4.EventType
— TypeSpecifies the type of the event.
Details can be found in the GTK docs.
Gtk4.FileChooserAction
— TypeDescribes whether a GtkFileChooser
is being used to open existing files or to save to a possibly new file.
Details can be found in the GTK docs.
Gtk4.FileChooserError
— TypeThese identify the various errors that can occur while calling GtkFileChooser
functions.
Details can be found in the GTK docs.
Gtk4.FilterChange
— TypeDescribes changes in a filter in more detail and allows objects using the filter to optimize refiltering items.
Details can be found in the GTK docs.
Gtk4.FilterMatch
— TypeDescribes the known strictness of a filter.
Details can be found in the GTK docs.
Gtk4.FontChooserLevel
— TypeSpecifies the granularity of font selection that is desired in a GtkFontChooser
.
Details can be found in the GTK docs.
Gtk4.FrameClockPhase
— TypeUsed to represent the different paint clock phases that can be requested.
Details can be found in the GTK docs.
Gtk4.FullscreenMode
— TypeIndicates which monitor a surface should span over when in fullscreen mode.
Details can be found in the GTK docs.
Gtk4.GLAPI
— TypeThe list of the different APIs that GdkGLContext can potentially support.
Details can be found in the GTK docs.
Gtk4.GLError
— TypeError enumeration for GdkGLContext
.
Details can be found in the GTK docs.
Gtk4.GdkAppLaunchContext
— TypeGdkAppLaunchContext
handles launching an application in a graphical context.
Details can be found in the GTK docs.
Gtk4.GdkButtonEvent
— TypeAn event related to a button on a pointer device.
Details can be found in the GTK docs.
Gtk4.GdkCairoContext
— TypeGdkCairoContext
is an object representing the platform-specific draw context.
Details can be found in the GTK docs.
Gtk4.GdkClipboard
— TypeThe GdkClipboard
object represents data shared between applications or inside an application.
Details can be found in the GTK docs.
Gtk4.GdkContentDeserializer
— TypeA GdkContentDeserializer
is used to deserialize content received via inter-application data transfers.
Details can be found in the GTK docs.
Gtk4.GdkContentFormats
— TypeThe GdkContentFormats
structure is used to advertise and negotiate the format of content.
Details can be found in the GTK docs.
Gtk4.GdkContentFormatsBuilder
— TypeA GdkContentFormatsBuilder
is an auxiliary struct used to create new GdkContentFormats
, and should not be kept around.
Details can be found in the GTK docs.
Gtk4.GdkContentProvider
— TypeA GdkContentProvider
is used to provide content for the clipboard or for drag-and-drop operations in a number of formats.
Details can be found in the GTK docs.
Gtk4.GdkContentSerializer
— TypeA GdkContentSerializer
is used to serialize content for inter-application data transfers.
Details can be found in the GTK docs.
Gtk4.GdkCrossingEvent
— TypeAn event caused by a pointing device moving between surfaces.
Details can be found in the GTK docs.
Gtk4.GdkCursor
— TypeGdkCursor
is used to create and destroy cursors.
Details can be found in the GTK docs.
Gtk4.GdkDNDEvent
— TypeAn event related to drag and drop operations.
Details can be found in the GTK docs.
Gtk4.GdkDeleteEvent
— TypeAn event related to closing a top-level surface.
Details can be found in the GTK docs.
Gtk4.GdkDevice
— TypeThe GdkDevice
object represents an input device, such as a keyboard, a mouse, or a touchpad.
Details can be found in the GTK docs.
Gtk4.GdkDeviceTool
— TypeA physical tool associated to a GdkDevice
.
Details can be found in the GTK docs.
Gtk4.GdkDisplay
— TypeGdkDisplay
objects are the GDK representation of a workstation.
Details can be found in the GTK docs.
Gtk4.GdkDisplayManager
— TypeA singleton object that offers notification when displays appear or disappear.
Details can be found in the GTK docs.
Gtk4.GdkDrag
— TypeThe GdkDrag
object represents the source of an ongoing DND operation.
Details can be found in the GTK docs.
Gtk4.GdkDrawContext
— TypeBase class for objects implementing different rendering methods.
Details can be found in the GTK docs.
Gtk4.GdkDrop
— TypeThe GdkDrop
object represents the target of an ongoing DND operation.
Details can be found in the GTK docs.
Gtk4.GdkEvent
— TypeGdkEvent
s are immutable data structures, created by GDK to represent windowing system events.
Details can be found in the GTK docs.
Gtk4.GdkEventSequence
— TypeGdkEventSequence
is an opaque type representing a sequence of related touch events.
Details can be found in the GTK docs.
Gtk4.GdkFileList
— TypeAn opaque type representing a list of files.
Details can be found in the GTK docs.
Gtk4.GdkFocusEvent
— TypeAn event related to a keyboard focus change.
Details can be found in the GTK docs.
Gtk4.GdkFrameClock
— TypeA GdkFrameClock
tells the application when to update and repaint a surface.
Details can be found in the GTK docs.
Gtk4.GdkFrameTimings
— TypeA GdkFrameTimings
object holds timing information for a single frame of the application’s displays.
Details can be found in the GTK docs.
Gtk4.GdkGLContext
— TypeGdkGLContext
is an object representing a platform-specific OpenGL draw context.
Details can be found in the GTK docs.
Gtk4.GdkGLTexture
— TypeA GdkTexture representing a GL texture object.
Details can be found in the GTK docs.
Gtk4.GdkGrabBrokenEvent
— TypeAn event related to a broken windowing system grab.
Details can be found in the GTK docs.
Gtk4.GdkKeyEvent
— TypeAn event related to a key-based device.
Details can be found in the GTK docs.
Gtk4.GdkKeymapKey
— TypeA GdkKeymapKey
is a hardware key that can be mapped to a keyval.
Details can be found in the GTK docs.
Gtk4.GdkMemoryTexture
— TypeA GdkTexture
representing image data in memory.
Details can be found in the GTK docs.
Gtk4.GdkMonitor
— TypeGdkMonitor
objects represent the individual outputs that are associated with a GdkDisplay
.
Details can be found in the GTK docs.
Gtk4.GdkMotionEvent
— TypeAn event related to a pointer or touch device motion.
Details can be found in the GTK docs.
Gtk4.GdkPadEvent
— TypeAn event related to a pad-based device.
Details can be found in the GTK docs.
Gtk4.GdkPopupLayout
— TypeThe GdkPopupLayout
struct contains information that is necessary position a [iface@Gdk.Popup] relative to its parent.
Details can be found in the GTK docs.
Gtk4.GdkProximityEvent
— TypeAn event related to the proximity of a tool to a device.
Details can be found in the GTK docs.
Gtk4.GdkRGBA
— TypeA GdkRGBA
is used to represent a color, in a way that is compatible with cairo’s notion of color.
Details can be found in the GTK docs.
Gtk4.GdkRectangle
— TypeA GdkRectangle
data type for representing rectangles.
Details can be found in the GTK docs.
Gtk4.GdkScrollEvent
— TypeAn event related to a scrolling motion.
Details can be found in the GTK docs.
Gtk4.GdkSeat
— TypeThe GdkSeat
object represents a collection of input devices that belong to a user.
Details can be found in the GTK docs.
Gtk4.GdkSnapshot
— TypeBase type for snapshot operations.
Details can be found in the GTK docs.
Gtk4.GdkSurface
— TypeA GdkSurface
is a rectangular region on the screen.
Details can be found in the GTK docs.
Gtk4.GdkTexture
— TypeGdkTexture
is the basic element used to refer to pixel data.
Details can be found in the GTK docs.
Gtk4.GdkTimeCoord
— TypeA GdkTimeCoord
stores a single event in a motion history.
Details can be found in the GTK docs.
Gtk4.GdkToplevelLayout
— TypeThe GdkToplevelLayout
struct contains information that is necessary to present a sovereign window on screen.
Details can be found in the GTK docs.
Gtk4.GdkTouchEvent
— TypeAn event related to a touch-based device.
Details can be found in the GTK docs.
Gtk4.GdkTouchpadEvent
— TypeAn event related to a gesture on a touchpad device.
Details can be found in the GTK docs.
Gtk4.GdkVulkanContext
— TypeGdkVulkanContext
is an object representing the platform-specific Vulkan draw context.
Details can be found in the GTK docs.
Gtk4.Gravity
— TypeDefines the reference point of a surface and is used in GdkPopupLayout
.
Details can be found in the GTK docs.
Gtk4.GskCairoRenderer
— TypeA GSK renderer that is using cairo.
Details can be found in the GTK docs.
Gtk4.GskColorStop
— TypeA color stop in a gradient node.
Details can be found in the GTK docs.
Gtk4.GskGLShader
— TypeA GskGLShader
is a snippet of GLSL that is meant to run in the fragment shader of the rendering pipeline.
Details can be found in the GTK docs.
Gtk4.GskParseLocation
— TypeA location in a parse buffer.
Details can be found in the GTK docs.
Gtk4.GskRenderNode
— TypeGskRenderNode
is the basic block in a scene graph to be rendered using [class@Gsk.Renderer].
Details can be found in the GTK docs.
Gtk4.GskRenderer
— TypeGskRenderer
is a class that renders a scene graph defined via a tree of [class@Gsk.RenderNode] instances.
Details can be found in the GTK docs.
Gtk4.GskRoundedRect
— TypeA rectangular region with rounded corners.
Details can be found in the GTK docs.
Gtk4.GskShadow
— TypeThe shadow parameters in a shadow node.
Details can be found in the GTK docs.
Gtk4.GskTransform
— TypeGskTransform
is an object to describe transform matrices.
Details can be found in the GTK docs.
Gtk4.GtkATContext
— TypeGtkATContext
is an abstract class provided by GTK to communicate to platform-specific assistive technologies API.
Details can be found in the GTK docs.
Gtk4.GtkAboutDialog
— TypeThe GtkAboutDialog
offers a simple way to display information about a program.
Details can be found in the GTK docs.
Gtk4.GtkActionBar
— TypeGtkActionBar
is designed to present contextual actions.
Details can be found in the GTK docs.
Gtk4.GtkActivateAction
— TypeA GtkShortcutAction
that calls gtkwidgetactivate().
Details can be found in the GTK docs.
Gtk4.GtkAdjustment
— TypeGtkAdjustment
is a model for a numeric value.
Details can be found in the GTK docs.
Gtk4.GtkAlternativeTrigger
— TypeA GtkShortcutTrigger
that combines two triggers.
Details can be found in the GTK docs.
Gtk4.GtkAnyFilter
— TypeGtkAnyFilter
matches an item when at least one of its filters matches.
Details can be found in the GTK docs.
Gtk4.GtkAppChooserButton
— TypeThe GtkAppChooserButton
lets the user select an application.
Details can be found in the GTK docs.
Gtk4.GtkAppChooserDialog
— TypeGtkAppChooserDialog
shows a GtkAppChooserWidget
inside a GtkDialog
.
Details can be found in the GTK docs.
Gtk4.GtkAppChooserWidget
— TypeGtkAppChooserWidget
is a widget for selecting applications.
Details can be found in the GTK docs.
Gtk4.GtkApplication
— TypeGtkApplication
is a high-level API for writing applications.
Details can be found in the GTK docs.
Gtk4.GtkApplicationWindow
— TypeGtkApplicationWindow
is a GtkWindow
subclass that integrates with GtkApplication
.
Details can be found in the GTK docs.
Gtk4.GtkAspectFrame
— TypeGtkAspectFrame
preserves the aspect ratio of its child.
Details can be found in the GTK docs.
Gtk4.GtkAssistant
— TypeGtkAssistant
is used to represent a complex as a series of steps.
Details can be found in the GTK docs.
Gtk4.GtkAssistantPage
— TypeGtkAssistantPage
is an auxiliary object used by `GtkAssistant.
Details can be found in the GTK docs.
Gtk4.GtkBinLayout
— TypeGtkBinLayout
is a GtkLayoutManager
subclass useful for create "bins" of widgets.
Details can be found in the GTK docs.
Gtk4.GtkBitset
— TypeA GtkBitset
represents a set of unsigned integers.
Details can be found in the GTK docs.
Gtk4.GtkBitsetIter
— TypeAn opaque, stack-allocated struct for iterating over the elements of a GtkBitset
.
Details can be found in the GTK docs.
Gtk4.GtkBookmarkList
— TypeGtkBookmarkList
is a list model that wraps GBookmarkFile
.
Details can be found in the GTK docs.
Gtk4.GtkBoolFilter
— TypeGtkBoolFilter
evaluates a boolean GtkExpression
to determine whether to include items.
Details can be found in the GTK docs.
Gtk4.GtkBorder
— TypeA struct that specifies a border around a rectangular area.
Details can be found in the GTK docs.
Gtk4.GtkBox
— TypeThe GtkBox
widget arranges child widgets into a single row or column.
Details can be found in the GTK docs.
Gtk4.GtkBoxLayout
— TypeGtkBoxLayout
is a layout manager that arranges children in a single row or column.
Details can be found in the GTK docs.
Gtk4.GtkBuildableParseContext
— TypeAn opaque context struct for GtkBuildableParser
.
Details can be found in the GTK docs.
Gtk4.GtkBuildableParser
— TypeA sub-parser for GtkBuildable
implementations.
Details can be found in the GTK docs.
Gtk4.GtkBuilder
— TypeA GtkBuilder
reads XML descriptions of a user interface and instantiates the described objects.
Details can be found in the GTK docs.
Gtk4.GtkBuilderCScope
— TypeA GtkBuilderScope
implementation for the C language.
Details can be found in the GTK docs.
Gtk4.GtkBuilderListItemFactory
— TypeGtkBuilderListItemFactory
is a GtkListItemFactory
that creates widgets by instantiating GtkBuilder
UI templates.
Details can be found in the GTK docs.
Gtk4.GtkButton
— TypeThe GtkButton
widget is generally used to trigger a callback function that is called when the button is pressed.
Details can be found in the GTK docs.
Gtk4.GtkCalendar
— TypeGtkCalendar
is a widget that displays a Gregorian calendar, one month at a time.
Details can be found in the GTK docs.
Gtk4.GtkCallbackAction
— TypeA GtkShortcutAction
that invokes a callback.
Details can be found in the GTK docs.
Gtk4.GtkCellArea
— TypeAn abstract class for laying out GtkCellRenderer
s
Details can be found in the GTK docs.
Gtk4.GtkCellAreaBox
— TypeA cell area that renders GtkCellRenderers into a row or a column
Details can be found in the GTK docs.
Gtk4.GtkCellAreaContext
— TypeStores geometrical information for a series of rows in a GtkCellArea
Details can be found in the GTK docs.
Gtk4.GtkCellRenderer
— TypeAn object for rendering a single cell
Details can be found in the GTK docs.
Gtk4.GtkCellRendererAccel
— TypeRenders a keyboard accelerator in a cell
Details can be found in the GTK docs.
Gtk4.GtkCellRendererCombo
— TypeRenders a combobox in a cell
Details can be found in the GTK docs.
Gtk4.GtkCellRendererPixbuf
— TypeRenders a pixbuf in a cell
Details can be found in the GTK docs.
Gtk4.GtkCellRendererProgress
— TypeRenders numbers as progress bars
Details can be found in the GTK docs.
Gtk4.GtkCellRendererSpin
— TypeRenders a spin button in a cell
Details can be found in the GTK docs.
Gtk4.GtkCellRendererSpinner
— TypeRenders a spinning animation in a cell
Details can be found in the GTK docs.
Gtk4.GtkCellRendererText
— TypeRenders text in a cell
Details can be found in the GTK docs.
Gtk4.GtkCellRendererToggle
— TypeRenders a toggle button in a cell
Details can be found in the GTK docs.
Gtk4.GtkCellView
— TypeA widget displaying a single row of a GtkTreeModel
Details can be found in the GTK docs.
Gtk4.GtkCenterBox
— TypeGtkCenterBox
arranges three children in a row, keeping the middle child centered as well as possible.
Details can be found in the GTK docs.
Gtk4.GtkCenterLayout
— TypeGtkCenterLayout
is a layout manager that manages up to three children.
Details can be found in the GTK docs.
Gtk4.GtkCheckButton
— TypeA GtkCheckButton
places a label next to an indicator.
Details can be found in the GTK docs.
Gtk4.GtkColorButton
— TypeThe GtkColorButton
allows to open a color chooser dialog to change the color.
Details can be found in the GTK docs.
Gtk4.GtkColorChooserDialog
— TypeA dialog for choosing a color.
Details can be found in the GTK docs.
Gtk4.GtkColorChooserWidget
— TypeThe GtkColorChooserWidget
widget lets the user select a color.
Details can be found in the GTK docs.
Gtk4.GtkColumnView
— TypeGtkColumnView
presents a large dynamic list of items using multiple columns with headers.
Details can be found in the GTK docs.
Gtk4.GtkColumnViewColumn
— TypeGtkColumnViewColumn
represents the columns being added to GtkColumnView
.
Details can be found in the GTK docs.
Gtk4.GtkComboBox
— TypeA GtkComboBox
is a widget that allows the user to choose from a list of valid choices.
Details can be found in the GTK docs.
Gtk4.GtkComboBoxText
— TypeA GtkComboBoxText
is a simple variant of GtkComboBox
for text-only use cases.
Details can be found in the GTK docs.
Gtk4.GtkConstraint
— TypeGtkConstraint
describes a constraint between attributes of two widgets, expressed as a linear equation.
Details can be found in the GTK docs.
Gtk4.GtkConstraintGuide
— TypeA GtkConstraintGuide
is an invisible layout element in a GtkConstraintLayout
.
Details can be found in the GTK docs.
Gtk4.GtkConstraintLayout
— TypeA layout manager using constraints to describe relations between widgets.
Details can be found in the GTK docs.
Gtk4.GtkConstraintLayoutChild
— TypeGtkLayoutChild
subclass for children in a GtkConstraintLayout
.
Details can be found in the GTK docs.
Gtk4.GtkCssLocation
— TypeRepresents a location in a file or other source of data parsed by the CSS engine.
Details can be found in the GTK docs.
Gtk4.GtkCssProvider
— TypeGtkCssProvider
is an object implementing the GtkStyleProvider
interface for CSS.
Details can be found in the GTK docs.
Gtk4.GtkCssSection
— TypeDefines a part of a CSS document.
Details can be found in the GTK docs.
Gtk4.GtkCustomFilter
— TypeGtkCustomFilter
determines whether to include items with a callback.
Details can be found in the GTK docs.
Gtk4.GtkCustomLayout
— TypeGtkCustomLayout
uses closures for size negotiation.
Details can be found in the GTK docs.
Gtk4.GtkCustomSorter
— TypeGtkCustomSorter
is a GtkSorter
implementation that sorts via a callback function.
Details can be found in the GTK docs.
Gtk4.GtkDialog
— TypeDialogs are a convenient way to prompt the user for a small amount of input.
Details can be found in the GTK docs.
Gtk4.GtkDirectoryList
— TypeGtkDirectoryList
is a list model that wraps gfileenumeratechildrenasync().
Details can be found in the GTK docs.
Gtk4.GtkDragIcon
— TypeGtkDragIcon
is a GtkRoot
implementation for drag icons.
Details can be found in the GTK docs.
Gtk4.GtkDragSource
— TypeGtkDragSource
is an event controller to initiate Drag-And-Drop operations.
Details can be found in the GTK docs.
Gtk4.GtkDrawingArea
— TypeGtkDrawingArea
is a widget that allows drawing with cairo.
Details can be found in the GTK docs.
Gtk4.GtkDropControllerMotion
— TypeGtkDropControllerMotion
is an event controller tracking the pointer during Drag-and-Drop operations.
Details can be found in the GTK docs.
Gtk4.GtkDropDown
— TypeGtkDropDown
is a widget that allows the user to choose an item from a list of options.
Details can be found in the GTK docs.
Gtk4.GtkDropTarget
— TypeGtkDropTarget
is an event controller to receive Drag-and-Drop operations.
Details can be found in the GTK docs.
Gtk4.GtkDropTargetAsync
— TypeGtkDropTargetAsync
is an event controller to receive Drag-and-Drop operations, asynchronously.
Details can be found in the GTK docs.
Gtk4.GtkEditableLabel
— TypeA GtkEditableLabel
is a label that allows users to edit the text by switching to an “edit mode”.
Details can be found in the GTK docs.
Gtk4.GtkEmojiChooser
— TypeThe GtkEmojiChooser
is used by text widgets such as GtkEntry
or GtkTextView
to let users insert Emoji characters.
Details can be found in the GTK docs.
Gtk4.GtkEntry
— TypeGtkEntry
is a single line text entry widget.
Details can be found in the GTK docs.
Gtk4.GtkEntryBuffer
— TypeA GtkEntryBuffer
hold the text displayed in a GtkText
widget.
Details can be found in the GTK docs.
Gtk4.GtkEntryCompletion
— TypeGtkEntryCompletion
is an auxiliary object to provide completion functionality for GtkEntry
.
Details can be found in the GTK docs.
Gtk4.GtkEventController
— TypeGtkEventController
is the base class for event controllers.
Details can be found in the GTK docs.
Gtk4.GtkEventControllerFocus
— TypeGtkEventControllerFocus
is an event controller to keep track of keyboard focus.
Details can be found in the GTK docs.
Gtk4.GtkEventControllerKey
— TypeGtkEventControllerKey
is an event controller that provides access to key events.
Details can be found in the GTK docs.
Gtk4.GtkEventControllerLegacy
— TypeGtkEventControllerLegacy
is an event controller that provides raw access to the event stream.
Details can be found in the GTK docs.
Gtk4.GtkEventControllerMotion
— TypeGtkEventControllerMotion
is an event controller tracking the pointer position.
Details can be found in the GTK docs.
Gtk4.GtkEventControllerScroll
— TypeGtkEventControllerScroll
is an event controller that handles scroll events.
Details can be found in the GTK docs.
Gtk4.GtkEveryFilter
— TypeGtkEveryFilter
matches an item when each of its filters matches.
Details can be found in the GTK docs.
Gtk4.GtkExpander
— TypeGtkExpander
allows the user to reveal its child by clicking on an expander triangle.
Details can be found in the GTK docs.
Gtk4.GtkExpression
— TypeGtkExpression
provides a way to describe references to values.
Details can be found in the GTK docs.
Gtk4.GtkExpressionWatch
— TypeAn opaque structure representing a watched GtkExpression
.
Details can be found in the GTK docs.
Gtk4.GtkFileChooserDialog
— TypeGtkFileChooserDialog
is a dialog suitable for use with “File Open” or “File Save” commands.
Details can be found in the GTK docs.
Gtk4.GtkFileChooserNative
— TypeGtkFileChooserNative
is an abstraction of a dialog suitable for use with “File Open” or “File Save as” commands.
Details can be found in the GTK docs.
Gtk4.GtkFileChooserWidget
— TypeGtkFileChooserWidget
is a widget for choosing files.
Details can be found in the GTK docs.
Gtk4.GtkFileFilter
— TypeGtkFileFilter
filters files by name or mime type.
Details can be found in the GTK docs.
Gtk4.GtkFilter
— TypeA GtkFilter
object describes the filtering to be performed by a [class@Gtk.FilterListModel].
Details can be found in the GTK docs.
Gtk4.GtkFilterListModel
— TypeGtkFilterListModel
is a list model that filters the elements of the underlying model according to a GtkFilter
.
Details can be found in the GTK docs.
Gtk4.GtkFixed
— TypeGtkFixed
places its child widgets at fixed positions and with fixed sizes.
Details can be found in the GTK docs.
Gtk4.GtkFixedLayout
— TypeGtkFixedLayout
is a layout manager which can place child widgets at fixed positions.
Details can be found in the GTK docs.
Gtk4.GtkFixedLayoutChild
— TypeGtkLayoutChild
subclass for children in a GtkFixedLayout
.
Details can be found in the GTK docs.
Gtk4.GtkFlattenListModel
— TypeGtkFlattenListModel
is a list model that concatenates other list models.
Details can be found in the GTK docs.
Gtk4.GtkFlowBox
— TypeA GtkFlowBox
puts child widgets in reflowing grid.
Details can be found in the GTK docs.
Gtk4.GtkFlowBoxChild
— TypeGtkFlowBoxChild
is the kind of widget that can be added to a GtkFlowBox
.
Details can be found in the GTK docs.
Gtk4.GtkFontButton
— TypeThe GtkFontButton
allows to open a font chooser dialog to change the font.
Details can be found in the GTK docs.
Gtk4.GtkFontChooserDialog
— TypeThe GtkFontChooserDialog
widget is a dialog for selecting a font.
Details can be found in the GTK docs.
Gtk4.GtkFontChooserWidget
— TypeThe GtkFontChooserWidget
widget lets the user select a font.
Details can be found in the GTK docs.
Gtk4.GtkFrame
— TypeGtkFrame
is a widget that surrounds its child with a decorative frame and an optional label.
Details can be found in the GTK docs.
Gtk4.GtkGLArea
— TypeGtkGLArea
is a widget that allows drawing with OpenGL.
Details can be found in the GTK docs.
Gtk4.GtkGesture
— TypeGtkGesture
is the base class for gesture recognition.
Details can be found in the GTK docs.
Gtk4.GtkGestureClick
— TypeGtkGestureClick
is a GtkGesture
implementation for clicks.
Details can be found in the GTK docs.
Gtk4.GtkGestureDrag
— TypeGtkGestureDrag
is a GtkGesture
implementation for drags.
Details can be found in the GTK docs.
Gtk4.GtkGestureLongPress
— TypeGtkGestureLongPress
is a GtkGesture
for long presses.
Details can be found in the GTK docs.
Gtk4.GtkGesturePan
— TypeGtkGesturePan
is a GtkGesture
for pan gestures.
Details can be found in the GTK docs.
Gtk4.GtkGestureRotate
— TypeGtkGestureRotate
is a GtkGesture
for 2-finger rotations.
Details can be found in the GTK docs.
Gtk4.GtkGestureSingle
— TypeGtkGestureSingle
is a GtkGestures
subclass optimized for singe-touch and mouse gestures.
Details can be found in the GTK docs.
Gtk4.GtkGestureStylus
— TypeGtkGestureStylus
is a GtkGesture
specific to stylus input.
Details can be found in the GTK docs.
Gtk4.GtkGestureSwipe
— TypeGtkGestureSwipe
is a GtkGesture
for swipe gestures.
Details can be found in the GTK docs.
Gtk4.GtkGestureZoom
— TypeGtkGestureZoom
is a GtkGesture
for 2-finger pinch/zoom gestures.
Details can be found in the GTK docs.
Gtk4.GtkGrid
— TypeGtkGrid
is a container which arranges its child widgets in rows and columns.
Details can be found in the GTK docs.
Gtk4.GtkGridLayout
— TypeGtkGridLayout
is a layout manager which arranges child widgets in rows and columns.
Details can be found in the GTK docs.
Gtk4.GtkGridLayoutChild
— TypeGtkLayoutChild
subclass for children in a GtkGridLayout
.
Details can be found in the GTK docs.
Gtk4.GtkGridView
— TypeGtkGridView
presents a large dynamic grid of items.
Details can be found in the GTK docs.
Gtk4.GtkHeaderBar
— TypeGtkHeaderBar
is a widget for creating custom title bars for windows.
Details can be found in the GTK docs.
Gtk4.GtkIMContext
— TypeGtkIMContext
defines the interface for GTK input methods.
Details can be found in the GTK docs.
Gtk4.GtkIMContextSimple
— TypeGtkIMContextSimple
is an input method supporting table-based input methods.
Details can be found in the GTK docs.
Gtk4.GtkIMMulticontext
— TypeGtkIMMulticontext
is an input method context supporting multiple, switchable input methods.
Details can be found in the GTK docs.
Gtk4.GtkIconPaintable
— TypeContains information found when looking up an icon in GtkIconTheme
.
Details can be found in the GTK docs.
Gtk4.GtkIconTheme
— TypeGtkIconTheme
provides a facility for loading themed icons.
Details can be found in the GTK docs.
Gtk4.GtkIconView
— TypeGtkIconView
is a widget which displays data in a grid of icons.
Details can be found in the GTK docs.
Gtk4.GtkImage
— TypeThe GtkImage
widget displays an image.
Details can be found in the GTK docs.
Gtk4.GtkInfoBar
— TypeGtkInfoBar
can be show messages to the user without a dialog.
Details can be found in the GTK docs.
Gtk4.GtkInscription
— TypeGtkInscription
is a widget to show text in a predefined area.
Details can be found in the GTK docs.
Gtk4.GtkKeyvalTrigger
— TypeA GtkShortcutTrigger
that triggers when a specific keyval and modifiers are pressed.
Details can be found in the GTK docs.
Gtk4.GtkLabel
— TypeThe GtkLabel
widget displays a small amount of text.
Details can be found in the GTK docs.
Gtk4.GtkLayoutChild
— TypeGtkLayoutChild
is the base class for objects that are meant to hold layout properties.
Details can be found in the GTK docs.
Gtk4.GtkLayoutManager
— TypeLayout managers are delegate classes that handle the preferred size and the allocation of a widget.
Details can be found in the GTK docs.
Gtk4.GtkLevelBar
— TypeGtkLevelBar
is a widget that can be used as a level indicator.
Details can be found in the GTK docs.
Gtk4.GtkLinkButton
— TypeA GtkLinkButton
is a button with a hyperlink.
Details can be found in the GTK docs.
Gtk4.GtkListBase
— TypeGtkListBase
is the abstract base class for GTK's list widgets.
Details can be found in the GTK docs.
Gtk4.GtkListBox
— TypeGtkListBox
is a vertical list.
Details can be found in the GTK docs.
Gtk4.GtkListBoxRow
— TypeGtkListBoxRow
is the kind of widget that can be added to a GtkListBox
.
Details can be found in the GTK docs.
Gtk4.GtkListItem
— TypeGtkListItem
is used by list widgets to represent items in a GListModel
.
Details can be found in the GTK docs.
Gtk4.GtkListItemFactory
— TypeA GtkListItemFactory
creates widgets for the items taken from a GListModel
.
Details can be found in the GTK docs.
Gtk4.GtkListStore
— TypeA list-like data structure that can be used with the [class@Gtk.TreeView].
Details can be found in the GTK docs.
Gtk4.GtkListView
— TypeGtkListView
presents a large dynamic list of items.
Details can be found in the GTK docs.
Gtk4.GtkLockButton
— TypeGtkLockButton
is a widget to obtain and revoke authorizations needed to operate the controls.
Details can be found in the GTK docs.
Gtk4.GtkMapListModel
— TypeA GtkMapListModel
maps the items in a list model to different items.
Details can be found in the GTK docs.
Gtk4.GtkMediaControls
— TypeGtkMediaControls
is a widget to show controls for a video.
Details can be found in the GTK docs.
Gtk4.GtkMediaFile
— TypeGtkMediaFile
implements GtkMediaStream
for files.
Details can be found in the GTK docs.
Gtk4.GtkMediaStream
— TypeGtkMediaStream
is the integration point for media playback inside GTK.
Details can be found in the GTK docs.
Gtk4.GtkMenuButton
— TypeThe GtkMenuButton
widget is used to display a popup when clicked.
Details can be found in the GTK docs.
Gtk4.GtkMessageDialog
— TypeGtkMessageDialog
presents a dialog with some message text.
Details can be found in the GTK docs.
Gtk4.GtkMnemonicAction
— TypeA GtkShortcutAction
that calls gtkwidgetmnemonic_activate().
Details can be found in the GTK docs.
Gtk4.GtkMnemonicTrigger
— TypeA GtkShortcutTrigger
that triggers when a specific mnemonic is pressed.
Details can be found in the GTK docs.
Gtk4.GtkMountOperation
— TypeGtkMountOperation
is an implementation of GMountOperation
.
Details can be found in the GTK docs.
Gtk4.GtkMultiFilter
— TypeGtkMultiFilter
is the base class for filters that combine multiple filters.
Details can be found in the GTK docs.
Gtk4.GtkMultiSelection
— TypeGtkMultiSelection
is a GtkSelectionModel
that allows selecting multiple elements.
Details can be found in the GTK docs.
Gtk4.GtkMultiSorter
— TypeGtkMultiSorter
combines multiple sorters by trying them in turn.
Details can be found in the GTK docs.
Gtk4.GtkNamedAction
— TypeA GtkShortcutAction
that activates an action by name.
Details can be found in the GTK docs.
Gtk4.GtkNativeDialog
— TypeNative dialogs are platform dialogs that don't use GtkDialog
.
Details can be found in the GTK docs.
Gtk4.GtkNeverTrigger
— TypeA GtkShortcutTrigger
that never triggers.
Details can be found in the GTK docs.
Gtk4.GtkNoSelection
— TypeGtkNoSelection
is a GtkSelectionModel
that does not allow selecting anything.
Details can be found in the GTK docs.
Gtk4.GtkNotebook
— TypeGtkNotebook
is a container whose children are pages switched between using tabs.
Details can be found in the GTK docs.
Gtk4.GtkNotebookPage
— TypeGtkNotebookPage
is an auxiliary object used by GtkNotebook
.
Details can be found in the GTK docs.
Gtk4.GtkNothingAction
— TypeA GtkShortcutAction
that does nothing.
Details can be found in the GTK docs.
Gtk4.GtkNumericSorter
— TypeGtkNumericSorter
is a GtkSorter
that compares numbers.
Details can be found in the GTK docs.
Gtk4.GtkOverlay
— TypeGtkOverlay
is a container which contains a single main child, on top of which it can place “overlay” widgets.
Details can be found in the GTK docs.
Gtk4.GtkOverlayLayout
— TypeGtkOverlayLayout
is the layout manager used by GtkOverlay
.
Details can be found in the GTK docs.
Gtk4.GtkOverlayLayoutChild
— TypeGtkLayoutChild
subclass for children in a GtkOverlayLayout
.
Details can be found in the GTK docs.
Gtk4.GtkPadActionEntry
— TypeStruct defining a pad action entry.
Details can be found in the GTK docs.
Gtk4.GtkPadController
— TypeGtkPadController
is an event controller for the pads found in drawing tablets.
Details can be found in the GTK docs.
Gtk4.GtkPageSetup
— TypeA GtkPageSetup
object stores the page size, orientation and margins.
Details can be found in the GTK docs.
Gtk4.GtkPaned
— TypeA widget with two panes, arranged either horizontally or vertically.
Details can be found in the GTK docs.
Gtk4.GtkPaperSize
— TypeGtkPaperSize
handles paper sizes.
Details can be found in the GTK docs.
Gtk4.GtkPasswordEntry
— TypeGtkPasswordEntry
is an entry that has been tailored for entering secrets.
Details can be found in the GTK docs.
Gtk4.GtkPasswordEntryBuffer
— TypeA GtkEntryBuffer
that locks the underlying memory to prevent it from being swapped to disk.
Details can be found in the GTK docs.
Gtk4.GtkPicture
— TypeThe GtkPicture
widget displays a GdkPaintable
.
Details can be found in the GTK docs.
Gtk4.GtkPopover
— TypeGtkPopover
is a bubble-like context popup.
Details can be found in the GTK docs.
Gtk4.GtkPopoverMenu
— TypeGtkPopoverMenu
is a subclass of GtkPopover
that implements menu behavior.
Details can be found in the GTK docs.
Gtk4.GtkPopoverMenuBar
— TypeGtkPopoverMenuBar
presents a horizontal bar of items that pop up popover menus when clicked.
Details can be found in the GTK docs.
Gtk4.GtkPrintContext
— TypeA GtkPrintContext
encapsulates context information that is required when drawing pages for printing.
Details can be found in the GTK docs.
Gtk4.GtkPrintJob
— TypeA GtkPrintJob
object represents a job that is sent to a printer.
Details can be found in the GTK docs.
Gtk4.GtkPrintOperation
— TypeGtkPrintOperation
is the high-level, portable printing API.
Details can be found in the GTK docs.
Gtk4.GtkPrintSettings
— TypeA GtkPrintSettings
object represents the settings of a print dialog in a system-independent way.
Details can be found in the GTK docs.
Gtk4.GtkPrinter
— TypeA GtkPrinter
object represents a printer.
Details can be found in the GTK docs.
Gtk4.GtkProgressBar
— TypeGtkProgressBar
is typically used to display the progress of a long running operation.
Details can be found in the GTK docs.
Gtk4.GtkRange
— TypeGtkRange
is the common base class for widgets which visualize an adjustment.
Details can be found in the GTK docs.
Gtk4.GtkRecentData
— TypeMeta-data to be passed to gtkrecentmanageraddfull() when registering a recently used resource.
Details can be found in the GTK docs.
Gtk4.GtkRecentInfo
— TypeGtkRecentInfo
contains the metadata associated with an item in the recently used files list.
Details can be found in the GTK docs.
Gtk4.GtkRecentManager
— TypeGtkRecentManager
manages and looks up recently used files.
Details can be found in the GTK docs.
Gtk4.GtkRequestedSize
— TypeRepresents a request of a screen object in a given orientation. These are primarily used in container implementations when allocating a natural size for children calling. See [func@distributenaturalallocation].
Details can be found in the GTK docs.
Gtk4.GtkRequisition
— TypeA GtkRequisition
represents the desired size of a widget. See GtkWidget’s geometry management section for more information.
Details can be found in the GTK docs.
Gtk4.GtkRevealer
— TypeA GtkRevealer
animates the transition of its child from invisible to visible.
Details can be found in the GTK docs.
Gtk4.GtkScale
— TypeA GtkScale
is a slider control used to select a numeric value.
Details can be found in the GTK docs.
Gtk4.GtkScaleButton
— TypeGtkScaleButton
provides a button which pops up a scale widget.
Details can be found in the GTK docs.
Gtk4.GtkScrollbar
— TypeThe GtkScrollbar
widget is a horizontal or vertical scrollbar.
Details can be found in the GTK docs.
Gtk4.GtkScrolledWindow
— TypeGtkScrolledWindow
is a container that makes its child scrollable.
Details can be found in the GTK docs.
Gtk4.GtkSearchBar
— TypeGtkSearchBar
is a container made to have a search entry.
Details can be found in the GTK docs.
Gtk4.GtkSearchEntry
— TypeGtkSearchEntry
is an entry widget that has been tailored for use as a search entry.
Details can be found in the GTK docs.
Gtk4.GtkSelectionFilterModel
— TypeGtkSelectionFilterModel
is a list model that presents the selection from a GtkSelectionModel
.
Details can be found in the GTK docs.
Gtk4.GtkSeparator
— TypeGtkSeparator
is a horizontal or vertical separator widget.
Details can be found in the GTK docs.
Gtk4.GtkSettings
— TypeGtkSettings
provides a mechanism to share global settings between applications.
Details can be found in the GTK docs.
Gtk4.GtkShortcut
— TypeA GtkShortcut
describes a keyboard shortcut.
Details can be found in the GTK docs.
Gtk4.GtkShortcutAction
— TypeGtkShortcutAction
encodes an action that can be triggered by a keyboard shortcut.
Details can be found in the GTK docs.
Gtk4.GtkShortcutController
— TypeGtkShortcutController
is an event controller that manages shortcuts.
Details can be found in the GTK docs.
Gtk4.GtkShortcutLabel
— TypeGtkShortcutLabel
displays a single keyboard shortcut or gesture.
Details can be found in the GTK docs.
Gtk4.GtkShortcutTrigger
— TypeGtkShortcutTrigger
tracks how a GtkShortcut
should be activated.
Details can be found in the GTK docs.
Gtk4.GtkShortcutsGroup
— TypeA GtkShortcutsGroup
represents a group of related keyboard shortcuts or gestures.
Details can be found in the GTK docs.
Gtk4.GtkShortcutsSection
— TypeA GtkShortcutsSection
collects all the keyboard shortcuts and gestures for a major application mode.
Details can be found in the GTK docs.
Gtk4.GtkShortcutsShortcut
— TypeA GtkShortcutsShortcut
represents a single keyboard shortcut or gesture with a short text.
Details can be found in the GTK docs.
Gtk4.GtkShortcutsWindow
— TypeA GtkShortcutsWindow
shows information about the keyboard shortcuts and gestures of an application.
Details can be found in the GTK docs.
Gtk4.GtkSignalAction
— TypeA GtkShortcut
Action that emits a signal.
Details can be found in the GTK docs.
Gtk4.GtkSignalListItemFactory
— TypeGtkSignalListItemFactory
is a GtkListItemFactory
that emits signals to to manage listitems.
Details can be found in the GTK docs.
Gtk4.GtkSingleSelection
— TypeGtkSingleSelection
is a GtkSelectionModel
that allows selecting a single item.
Details can be found in the GTK docs.
Gtk4.GtkSizeGroup
— TypeGtkSizeGroup
groups widgets together so they all request the same size.
Details can be found in the GTK docs.
Gtk4.GtkSliceListModel
— TypeGtkSliceListModel
is a list model that presents a slice of another model.
Details can be found in the GTK docs.
Gtk4.GtkSnapshot
— TypeGtkSnapshot
assists in creating [class@Gsk.RenderNode]s for widgets.
Details can be found in the GTK docs.
Gtk4.GtkSortListModel
— TypeA GListModel
that sorts the elements of an underlying model according to a GtkSorter
.
Details can be found in the GTK docs.
Gtk4.GtkSorter
— TypeGtkSorter
is an object to describe sorting criteria.
Details can be found in the GTK docs.
Gtk4.GtkSpinButton
— TypeA GtkSpinButton
is an ideal way to allow the user to set the value of some attribute.
Details can be found in the GTK docs.
Gtk4.GtkSpinner
— TypeA GtkSpinner
widget displays an icon-size spinning animation.
Details can be found in the GTK docs.
Gtk4.GtkStack
— TypeGtkStack
is a container which only shows one of its children at a time.
Details can be found in the GTK docs.
Gtk4.GtkStackPage
— TypeGtkStackPage
is an auxiliary class used by GtkStack
.
Details can be found in the GTK docs.
Gtk4.GtkStackSidebar
— TypeA GtkStackSidebar
uses a sidebar to switch between GtkStack
pages.
Details can be found in the GTK docs.
Gtk4.GtkStackSwitcher
— TypeThe GtkStackSwitcher
shows a row of buttons to switch between GtkStack
pages.
Details can be found in the GTK docs.
Gtk4.GtkStatusbar
— TypeA GtkStatusbar
widget is usually placed along the bottom of an application's main [class@Gtk.Window].
Details can be found in the GTK docs.
Gtk4.GtkStringFilter
— TypeGtkStringFilter
determines whether to include items by comparing strings to a fixed search term.
Details can be found in the GTK docs.
Gtk4.GtkStringList
— TypeGtkStringList
is a list model that wraps an array of strings.
Details can be found in the GTK docs.
Gtk4.GtkStringObject
— TypeGtkStringObject
is the type of items in a GtkStringList
.
Details can be found in the GTK docs.
Gtk4.GtkStringSorter
— TypeGtkStringSorter
is a GtkSorter
that compares strings.
Details can be found in the GTK docs.
Gtk4.GtkStyleContext
— TypeGtkStyleContext
stores styling information affecting a widget.
Details can be found in the GTK docs.
Gtk4.GtkSwitch
— TypeGtkSwitch
is a "light switch" that has two states: on or off.
Details can be found in the GTK docs.
Gtk4.GtkText
— TypeThe GtkText
widget is a single-line text entry widget.
Details can be found in the GTK docs.
Gtk4.GtkTextBuffer
— TypeStores text and attributes for display in a GtkTextView
.
Details can be found in the GTK docs.
Gtk4.GtkTextChildAnchor
— TypeA GtkTextChildAnchor
is a spot in a GtkTextBuffer
where child widgets can be “anchored”.
Details can be found in the GTK docs.
Gtk4.GtkTextIter
— TypeAn iterator for the contents of a GtkTextBuffer
.
Details can be found in the GTK docs.
Gtk4.GtkTextMark
— TypeA GtkTextMark
is a position in a GtkTextbuffer
that is preserved across modifications.
Details can be found in the GTK docs.
Gtk4.GtkTextTag
— TypeA tag that can be applied to text contained in a GtkTextBuffer
.
Details can be found in the GTK docs.
Gtk4.GtkTextTagTable
— TypeThe collection of tags in a GtkTextBuffer
Details can be found in the GTK docs.
Gtk4.GtkTextView
— TypeA widget that displays the contents of a [class@Gtk.TextBuffer].
Details can be found in the GTK docs.
Gtk4.GtkToggleButton
— TypeA GtkToggleButton
is a button which remains “pressed-in” when clicked.
Details can be found in the GTK docs.
Gtk4.GtkTooltip
— TypeGtkTooltip
is an object representing a widget tooltip.
Details can be found in the GTK docs.
Gtk4.GtkTreeExpander
— TypeGtkTreeExpander
is a widget that provides an expander for a list.
Details can be found in the GTK docs.
Gtk4.GtkTreeIter
— TypeThe GtkTreeIter
is the primary structure for accessing a GtkTreeModel
. Models are expected to put a unique integer in the @stamp member, and put model-specific data in the three @user_data members.
Details can be found in the GTK docs.
Gtk4.GtkTreeListModel
— TypeGtkTreeListModel
is a list model that can create child models on demand.
Details can be found in the GTK docs.
Gtk4.GtkTreeListRow
— TypeGtkTreeListRow
is used by GtkTreeListModel
to represent items.
Details can be found in the GTK docs.
Gtk4.GtkTreeListRowSorter
— TypeGtkTreeListRowSorter
is a special-purpose sorter that will apply a given sorter to the levels in a tree.
Details can be found in the GTK docs.
Gtk4.GtkTreeModelFilter
— TypeA GtkTreeModel
which hides parts of an underlying tree model
Details can be found in the GTK docs.
Gtk4.GtkTreeModelSort
— TypeA GtkTreeModel which makes an underlying tree model sortable
Details can be found in the GTK docs.
Gtk4.GtkTreePath
— TypeAn opaque structure representing a path to a row in a model.
Details can be found in the GTK docs.
Gtk4.GtkTreeSelection
— TypeThe selection object for GtkTreeView
Details can be found in the GTK docs.
Gtk4.GtkTreeStore
— TypeA tree-like data structure that can be used with the GtkTreeView
Details can be found in the GTK docs.
Gtk4.GtkTreeView
— TypeA widget for displaying both trees and lists
Details can be found in the GTK docs.
Gtk4.GtkTreeViewColumn
— TypeA visible column in a [class@Gtk.TreeView] widget
Details can be found in the GTK docs.
Gtk4.GtkVideo
— TypeGtkVideo
is a widget to show a GtkMediaStream
with media controls.
Details can be found in the GTK docs.
Gtk4.GtkViewport
— TypeGtkViewport
implements scrollability for widgets that lack their own scrolling capabilities.
Details can be found in the GTK docs.
Gtk4.GtkVolumeButton
— TypeGtkVolumeButton
is a GtkScaleButton
subclass tailored for volume control.
Details can be found in the GTK docs.
Gtk4.GtkWidget
— TypeThe base class for all widgets.
Details can be found in the GTK docs.
Gtk4.GtkWidgetPaintable
— TypeGtkWidgetPaintable
is a GdkPaintable
that displays the contents of a widget.
Details can be found in the GTK docs.
Gtk4.GtkWindow
— TypeA GtkWindow
is a toplevel window which can contain other widgets.
Details can be found in the GTK docs.
Gtk4.GtkWindowControls
— TypeGtkWindowControls
shows window frame controls.
Details can be found in the GTK docs.
Gtk4.GtkWindowGroup
— TypeGtkWindowGroup
makes group of windows behave like separate applications.
Details can be found in the GTK docs.
Gtk4.GtkWindowHandle
— TypeGtkWindowHandle
is a titlebar area widget.
Details can be found in the GTK docs.
Gtk4.IconLookupFlags
— TypeUsed to specify options for gtkiconthemelookupicon().
Details can be found in the GTK docs.
Gtk4.IconSize
— TypeBuilt-in icon sizes.
Details can be found in the GTK docs.
Gtk4.IconThemeError
— TypeError codes for GtkIconTheme
operations.
Details can be found in the GTK docs.
Gtk4.IconViewDropPosition
— TypeAn enum for determining where a dropped item goes.
Details can be found in the GTK docs.
Gtk4.ImageType
— TypeDescribes the image data representation used by a [class@Gtk.Image].
Details can be found in the GTK docs.
Gtk4.InputHints
— TypeDescribes hints that might be taken into account by input methods or applications.
Details can be found in the GTK docs.
Gtk4.InputPurpose
— TypeDescribes primary purpose of the input widget.
Details can be found in the GTK docs.
Gtk4.InputSource
— TypeAn enumeration describing the type of an input device in general terms.
Details can be found in the GTK docs.
Gtk4.InscriptionOverflow
— TypeThe different methods to handle text in #GtkInscription when it doesn't fit the available space.
Details can be found in the GTK docs.
Gtk4.Justification
— TypeUsed for justifying the text inside a [class@Label] widget.
Details can be found in the GTK docs.
Gtk4.KeyMatch
— TypeDescribes how well an event matches a given keyval and modifiers.
Details can be found in the GTK docs.
Gtk4.LevelBarMode
— TypeDescribes how [class@LevelBar] contents should be rendered.
Details can be found in the GTK docs.
Gtk4.License
— TypeThe type of license for an application.
Details can be found in the GTK docs.
Gtk4.MemoryFormat
— TypeGdkMemoryFormat
describes formats that image data can have in memory.
Details can be found in the GTK docs.
Gtk4.MessageType
— TypeThe type of message being displayed in a [class@MessageDialog].
Details can be found in the GTK docs.
Gtk4.ModifierType
— TypeFlags to indicate the state of modifier keys and mouse buttons in events.
Details can be found in the GTK docs.
Gtk4.MovementStep
— TypePassed as argument to various keybinding signals for moving the cursor position.
Details can be found in the GTK docs.
Gtk4.NaturalWrapMode
— TypeOptions for selecting a different wrap mode for natural size requests.
Details can be found in the GTK docs.
Gtk4.NotebookTab
— TypeThe parameter used in the action signals of GtkNotebook
.
Details can be found in the GTK docs.
Gtk4.NotifyType
— TypeSpecifies the kind of crossing for enter and leave events.
Details can be found in the GTK docs.
Gtk4.NumberUpLayout
— TypeUsed to determine the layout of pages on a sheet when printing multiple pages per sheet.
Details can be found in the GTK docs.
Gtk4.Ordering
— TypeDescribes the way two values can be compared.
Details can be found in the GTK docs.
Gtk4.Orientation
— TypeRepresents the orientation of widgets and other objects.
Details can be found in the GTK docs.
Gtk4.Overflow
— TypeDefines how content overflowing a given area should be handled.
Details can be found in the GTK docs.
Gtk4.PackType
— TypeRepresents the packing location of a children in its parent.
Details can be found in the GTK docs.
Gtk4.PadActionType
— TypeThe type of a pad action.
Details can be found in the GTK docs.
Gtk4.PageOrientation
— TypeSee also gtkprintsettingssetorientation().
Details can be found in the GTK docs.
Gtk4.PageSet
— TypeSee also gtkprintjobsetpage_set().
Details can be found in the GTK docs.
Gtk4.PaintableFlags
— TypeFlags about a paintable object.
Details can be found in the GTK docs.
Gtk4.PanDirection
— TypeDescribes the panning direction of a [class@GesturePan].
Details can be found in the GTK docs.
Gtk4.PickFlags
— TypeFlags that influence the behavior of [method@Widget.pick].
Details can be found in the GTK docs.
Gtk4.PolicyType
— TypeDetermines how the size should be computed to achieve the one of the visibility mode for the scrollbars.
Details can be found in the GTK docs.
Gtk4.PopoverMenuFlags
— TypeFlags that affect how popover menus are created from a menu model.
Details can be found in the GTK docs.
Gtk4.PositionType
— TypeDescribes which edge of a widget a certain feature is positioned at.
Details can be found in the GTK docs.
Gtk4.PrintCapabilities
— TypeSpecifies which features the print dialog should offer.
Details can be found in the GTK docs.
Gtk4.PrintDuplex
— TypeSee also gtkprintsettingssetduplex().
Details can be found in the GTK docs.
Gtk4.PrintError
— TypeError codes that identify various errors that can occur while using the GTK printing support.
Details can be found in the GTK docs.
Gtk4.PrintOperationAction
— TypeDetermines what action the print operation should perform.
Details can be found in the GTK docs.
Gtk4.PrintOperationResult
— TypeThe result of a print operation.
Details can be found in the GTK docs.
Gtk4.PrintPages
— TypeSee also gtkprintjobsetpages()
Details can be found in the GTK docs.
Gtk4.PrintQuality
— TypeSee also gtkprintsettingssetquality().
Details can be found in the GTK docs.
Gtk4.PrintStatus
— TypeThe status gives a rough indication of the completion of a running print operation.
Details can be found in the GTK docs.
Gtk4.PropagationLimit
— TypeDescribes limits of a [class@EventController] for handling events targeting other widgets.
Details can be found in the GTK docs.
Gtk4.PropagationPhase
— TypeDescribes the stage at which events are fed into a [class@EventController].
Details can be found in the GTK docs.
Gtk4.RecentManagerError
— TypeError codes for GtkRecentManager
operations
Details can be found in the GTK docs.
Gtk4.ResponseType
— TypePredefined values for use as response ids in gtkdialogadd_button().
Details can be found in the GTK docs.
Gtk4.RevealerTransitionType
— TypeThese enumeration values describe the possible transitions when the child of a GtkRevealer
widget is shown or hidden.
Details can be found in the GTK docs.
Gtk4.ScrollDirection
— TypeSpecifies the direction for scroll events.
Details can be found in the GTK docs.
Gtk4.ScrollStep
— TypePassed as argument to various keybinding signals.
Details can be found in the GTK docs.
Gtk4.ScrollType
— TypeScrolling types.
Details can be found in the GTK docs.
Gtk4.ScrollUnit
— TypeSpecifies the unit of scroll deltas.
Details can be found in the GTK docs.
Gtk4.ScrollablePolicy
— TypeDefines the policy to be used in a scrollable widget when updating the scrolled window adjustments in a given orientation.
Details can be found in the GTK docs.
Gtk4.SeatCapabilities
— TypeFlags describing the seat capabilities.
Details can be found in the GTK docs.
Gtk4.SelectionMode
— TypeUsed to control what selections users are allowed to make.
Details can be found in the GTK docs.
Gtk4.SensitivityType
— TypeDetermines how GTK handles the sensitivity of various controls, such as combo box buttons.
Details can be found in the GTK docs.
Gtk4.ShortcutActionFlags
— TypeList of flags that can be passed to action activation.
Details can be found in the GTK docs.
Gtk4.ShortcutScope
— TypeDescribes where [class@Shortcut]s added to a [class@ShortcutController] get handled.
Details can be found in the GTK docs.
Gtk4.ShortcutType
— TypeGtkShortcutType specifies the kind of shortcut that is being described.
Details can be found in the GTK docs.
Gtk4.SizeGroupMode
— TypeThe mode of the size group determines the directions in which the size group affects the requested sizes of its component widgets.
Details can be found in the GTK docs.
Gtk4.SizeRequestMode
— TypeSpecifies a preference for height-for-width or width-for-height geometry management.
Details can be found in the GTK docs.
Gtk4.SortType
— TypeDetermines the direction of a sort.
Details can be found in the GTK docs.
Gtk4.SorterChange
— TypeDescribes changes in a sorter in more detail and allows users to optimize resorting.
Details can be found in the GTK docs.
Gtk4.SorterOrder
— TypeDescribes the type of order that a GtkSorter
may produce.
Details can be found in the GTK docs.
Gtk4.SpinButtonUpdatePolicy
— TypeDetermines whether the spin button displays values outside the adjustment bounds.
Details can be found in the GTK docs.
Gtk4.SpinType
— TypeThe values of the GtkSpinType enumeration are used to specify the change to make in gtkspinbutton_spin().
Details can be found in the GTK docs.
Gtk4.StackTransitionType
— TypePossible transitions between pages in a GtkStack
widget.
Details can be found in the GTK docs.
Gtk4.StateFlags
— TypeDescribes a widget state.
Details can be found in the GTK docs.
Gtk4.StringFilterMatchMode
— TypeSpecifies how search strings are matched inside text.
Details can be found in the GTK docs.
Gtk4.StyleContextPrintFlags
— TypeFlags that modify the behavior of gtkstylecontexttostring().
Details can be found in the GTK docs.
Gtk4.SubpixelLayout
— TypeThis enumeration describes how the red, green and blue components of physical pixels on an output device are laid out.
Details can be found in the GTK docs.
Gtk4.SurfaceEdge
— TypeDetermines a surface edge or corner.
Details can be found in the GTK docs.
Gtk4.SymbolicColor
— TypeThe indexes of colors passed to symbolic color rendering, such as [vfunc@Gtk.SymbolicPaintable.snapshot_symbolic].
Details can be found in the GTK docs.
Gtk4.SystemSetting
— TypeValues that can be passed to the [vfunc@Gtk.Widget.systemsettingchanged] vfunc.
Details can be found in the GTK docs.
Gtk4.TextDirection
— TypeReading directions for text.
Details can be found in the GTK docs.
Gtk4.TextExtendSelection
— TypeGranularity types that extend the text selection. Use the GtkTextView::extend-selection
signal to customize the selection.
Details can be found in the GTK docs.
Gtk4.TextSearchFlags
— TypeFlags affecting how a search is done.
Details can be found in the GTK docs.
Gtk4.TextViewLayer
— TypeUsed to reference the layers of GtkTextView
for the purpose of customized drawing with the ::snapshot_layer vfunc.
Details can be found in the GTK docs.
Gtk4.TextWindowType
— TypeUsed to reference the parts of GtkTextView
.
Details can be found in the GTK docs.
Gtk4.TextureError
— TypePossible errors that can be returned by GdkTexture
constructors.
Details can be found in the GTK docs.
Gtk4.ToplevelState
— TypeSpecifies the state of a toplevel surface.
Details can be found in the GTK docs.
Gtk4.TouchpadGesturePhase
— TypeSpecifies the current state of a touchpad gesture.
Details can be found in the GTK docs.
Gtk4.TreeModelFlags
— TypeThese flags indicate various properties of a GtkTreeModel
.
Details can be found in the GTK docs.
Gtk4.TreeViewColumnSizing
— TypeThe sizing method the column uses to determine its width. Please note that %GTKTREEVIEWCOLUMNAUTOSIZE are inefficient for large views, and can make columns appear choppy.
Details can be found in the GTK docs.
Gtk4.TreeViewDropPosition
— TypeAn enum for determining where a dropped row goes.
Details can be found in the GTK docs.
Gtk4.TreeViewGridLines
— TypeUsed to indicate which grid lines to draw in a tree view.
Details can be found in the GTK docs.
Gtk4.Unit
— TypeSee also gtkprintsettingssetpaper_width().
Details can be found in the GTK docs.
Gtk4.VulkanError
— TypeError enumeration for GdkVulkanContext
.
Details can be found in the GTK docs.
Gtk4.WrapMode
— TypeDescribes a type of line wrapping.
Details can be found in the GTK docs.
Gtk4._GtkTextIter
— Method_GtkTextIter(text::GtkTextBuffer, char_offset::Integer)
Creates a _GtkTextIter
with offset char_offset
(one-based index).
Constants
Gtk4.ACCESSIBLE_VALUE_UNDEFINED
— ConstantAn undefined value. The accessible attribute is either unset, or its value is undefined.
Details can be found in the GTK docs.
Gtk4.ACTION_ALL
— ConstantDefines all possible DND actions.
Details can be found in the GTK docs.
Gtk4.BINARY_AGE
— ConstantLike [func@getbinaryage], but from the headers used at application compile time, rather than from the library linked against at application run time.
Details can be found in the GTK docs.
Gtk4.BUTTON_MIDDLE
— ConstantThe middle button.
Details can be found in the GTK docs.
Gtk4.BUTTON_PRIMARY
— ConstantThe primary button. This is typically the left mouse button, or the right button in a left-handed setup.
Details can be found in the GTK docs.
Gtk4.BUTTON_SECONDARY
— ConstantThe secondary button. This is typically the right mouse button, or the left button in a left-handed setup.
Details can be found in the GTK docs.
Gtk4.CURRENT_TIME
— ConstantRepresents the current time, and can be used anywhere a time is expected.
Details can be found in the GTK docs.
Gtk4.EVENT_PROPAGATE
— ConstantUse this macro as the return value for continuing the propagation of an event handler.
Details can be found in the GTK docs.
Gtk4.EVENT_STOP
— ConstantUse this macro as the return value for stopping the propagation of an event handler.
Details can be found in the GTK docs.
Gtk4.INPUT_ERROR
— ConstantConstant to return from a signal handler for the ::input signal in case of conversion failure.
Details can be found in the GTK docs.
Gtk4.INTERFACE_AGE
— ConstantLike [func@getinterfaceage], but from the headers used at application compile time, rather than from the library linked against at application run time.
Details can be found in the GTK docs.
Gtk4.INVALID_LIST_POSITION
— ConstantThe value used to refer to a guaranteed invalid position in a GListModel
.
Details can be found in the GTK docs.
Gtk4.LEVEL_BAR_OFFSET_FULL
— ConstantThe name used for the stock full offset included by GtkLevelBar
.
Details can be found in the GTK docs.
Gtk4.LEVEL_BAR_OFFSET_HIGH
— ConstantThe name used for the stock high offset included by GtkLevelBar
.
Details can be found in the GTK docs.
Gtk4.LEVEL_BAR_OFFSET_LOW
— ConstantThe name used for the stock low offset included by GtkLevelBar
.
Details can be found in the GTK docs.
Gtk4.MAJOR_VERSION
— ConstantLike [func@getmajorversion], but from the headers used at application compile time, rather than from the library linked against at application run time.
Details can be found in the GTK docs.
Gtk4.MICRO_VERSION
— ConstantLike [func@getmicroversion], but from the headers used at application compile time, rather than from the library linked against at application run time.
Details can be found in the GTK docs.
Gtk4.MINOR_VERSION
— ConstantLike [func@getminorversion], but from the headers used at application compile time, rather than from the library linked against at application run time.
Details can be found in the GTK docs.
Gtk4.MODIFIER_MASK
— ConstantA mask covering all entries in GdkModifierType
.
Details can be found in the GTK docs.
Gtk4.PAPER_NAME_A3
— ConstantName for the A3 paper size.
Details can be found in the GTK docs.
Gtk4.PAPER_NAME_A4
— ConstantName for the A4 paper size.
Details can be found in the GTK docs.
Gtk4.PAPER_NAME_A5
— ConstantName for the A5 paper size.
Details can be found in the GTK docs.
Gtk4.PAPER_NAME_B5
— ConstantName for the B5 paper size.
Details can be found in the GTK docs.
Gtk4.PAPER_NAME_EXECUTIVE
— ConstantName for the Executive paper size.
Details can be found in the GTK docs.
Gtk4.PAPER_NAME_LEGAL
— ConstantName for the Legal paper size.
Details can be found in the GTK docs.
Gtk4.PAPER_NAME_LETTER
— ConstantName for the Letter paper size.
Details can be found in the GTK docs.
Gtk4.PRINT_SETTINGS_OUTPUT_BASENAME
— ConstantThe 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.
Details can be found in the GTK docs.
Gtk4.PRINT_SETTINGS_OUTPUT_DIR
— ConstantThe key used by the “Print to file” printer to store the directory to which the output should be written.
Details can be found in the GTK docs.
Gtk4.PRINT_SETTINGS_OUTPUT_FILE_FORMAT
— ConstantThe key used by the “Print to file” printer to store the format of the output. The supported values are “PS” and “PDF”.
Details can be found in the GTK docs.
Gtk4.PRINT_SETTINGS_OUTPUT_URI
— ConstantThe key used by the “Print to file” printer to store the URI to which the output should be written. GTK itself supports only “file://” URIs.
Details can be found in the GTK docs.
Gtk4.PRIORITY_REDRAW
— ConstantThis is the priority that the idle handler processing surface updates is given in the main loop.
Details can be found in the GTK docs.
Gtk4.PRIORITY_RESIZE
— ConstantUse this priority for functionality related to size allocation.
Details can be found in the GTK docs.
Gtk4.STYLE_PROVIDER_PRIORITY_APPLICATION
— ConstantA priority that can be used when adding a GtkStyleProvider
for application-specific style information.
Details can be found in the GTK docs.
Gtk4.STYLE_PROVIDER_PRIORITY_FALLBACK
— ConstantThe priority used for default style information that is used in the absence of themes.
Details can be found in the GTK docs.
Gtk4.STYLE_PROVIDER_PRIORITY_SETTINGS
— ConstantThe priority used for style information provided via GtkSettings
.
Details can be found in the GTK docs.
Gtk4.STYLE_PROVIDER_PRIORITY_THEME
— ConstantThe priority used for style information provided by themes.
Details can be found in the GTK docs.
Gtk4.STYLE_PROVIDER_PRIORITY_USER
— ConstantThe priority used for the style information from $XDG_CONFIG_HOME/gtk-4.0/gtk.css
.
Details can be found in the GTK docs.
Gtk4.TEXT_VIEW_PRIORITY_VALIDATE
— ConstantThe priority at which the text view validates onscreen lines in an idle job in the background.
Details can be found in the GTK docs.
Gtk4.TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
— ConstantUses the default sort function in a [iface@Gtk.TreeSortable].
Details can be found in the GTK docs.
Gtk4.TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
— ConstantDisables sorting in a [iface@Gtk.TreeSortable].
Details can be found in the GTK docs.