Gnome::Gtk4::WindowHandle
Description
Gnome::Gtk4::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
Gnome::Gtk4::WindowHandle has a single CSS node with the name windowhandle.
Accessibility
Until GTK 4.10, Gnome::Gtk4::WindowHandle used the GTK_ACCESSIBLE_ROLE_GROUP role.
Starting from GTK 4.12, Gnome::Gtk4::WindowHandle uses the GTK_ACCESSIBLE_ROLE_GENERIC role.
Class initialization
new
:native-object
Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object :$native-object! )
new-windowhandle
Creates a new Gnome::Gtk4::WindowHandle.
method new-windowhandle ( --> Gnome::Gtk4::WindowHandle \)
Methods
get-child
Gets the child widget of $self
.
method get-child (--> N-Object )
Return value; the child widget of $self
.
set-child
Sets the child widget of $self
.
method set-child ( N-Object() $child )
$child; the child widget.