gtk.window_handle

Module for [WindowHandle] class

Types 3

[gtk.window_handle.WindowHandle] is a titlebar area widget.

When added into a window, it can be dragged to move the window, and handles right click, double click and middle click as expected of a titlebar.

CSS nodes

[gtk.window_handle.WindowHandle] has a single CSS node with the name windowhandle.

Accessibility

Until GTK 4.10, [gtk.window_handle.WindowHandle] used the [gtk.types.AccessibleRole.Group] role.

Starting from GTK 4.12, [gtk.window_handle.WindowHandle] uses the [gtk.types.AccessibleRole.Generic] role.

Methods
GType _gType() @property
WindowHandle self()Returns `this`, for use in `with` statements.
WindowHandleGidBuilder builder()Get builder for [gtk.window_handle.WindowHandle] Returns: New builder object
gtk.widget.Widget child() @propertyGet `child` property. Returns: The child widget.
void child(gtk.widget.Widget propval) @propertySet `child` property. Params: propval = The child widget.
gtk.widget.Widget getChild()Gets the child widget of self. Returns: the child widget of self
void setChild(gtk.widget.Widget child = null)Sets the child widget of self.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.windowhandle.WindowHandle]. Returns: a new [gtk.windowhandle.WindowHandle].
Methods
T child(gtk.widget.Widget propval)Set `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chaining

Fluent builder for [gtk.window_handle.WindowHandle]