About my projects, examples and tutorials
Gnome::Gtk4::WindowHandle

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.

Uml Diagram§

UNKNOWN image§

=for image :class<inline> :src<asset_files/images/plantuml/WindowHandle.png> :width<70\%>

Class initialization§

new§

:native-object§

Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.

multi method new ( N-Object() :$native-object! )
Code

new-windowhandle§

Creates a new Gnome::Gtk4::WindowHandle.

method new-windowhandle ( --> Gnome::Gtk4::WindowHandle )
Code

Methods§

get-child§

Gets the child widget of $self.

method get-child (--> N-Object )
Code

Return value; the child widget of $self.

set-child§

Sets the child widget of $self.

method set-child ( N-Object() $child )
Code
  • $child; the child widget.