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 _getGType() static nothrow
GType _gType() @property nothrow
WindowHandle self() nothrowReturns `this`, for use in `with` statements.
WindowHandleGidBuilder builder() static nothrowGet builder for [gtk.window_handle.WindowHandle] Returns: New builder object
gtk.widget.Widget child() @property nothrowGet `child` property. Returns: The child widget.
void child(gtk.widget.Widget propval) @property nothrowSet `child` property. Params: propval = The child widget.
gtk.widget.Widget getChild() nothrowGets the child widget of self. Returns: the child widget of self
void setChild(gtk.widget.Widget child = null) nothrowSets the child widget of self.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.window_handle.WindowHandle]. Returns: a new [gtk.window_handle.WindowHandle].

Fluent builder implementation template for gtk.window_handle.WindowHandle

Methods
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child widget. Returns: Builder instance for fluent chaining
Methods
WindowHandle build() nothrowCreate object from builder. Returns: New object