1.219 <GtkWindowHandle>

Class: <GtkWindowHandle>

It derives from <GtkWidget>.

Implements titlebar functionality for a window.

When added into a window, it can be dragged to move the window, and it implements the right click, double click and middle click behaviors that are expected of a titlebar.

CSS nodes

<GtkWindowHandle> has a single CSS node with the name windowhandle.

Accessibility

Until GTK 4.10, <GtkWindowHandle> used the Gtk.AccessibleRole.group role.

Starting from GTK 4.12, <GtkWindowHandle> uses the Gtk.AccessibleRole.generic role.

Properties

Property: window-handle:child self

The child widget.

Its value is a <GtkWidget>, or #f.

Set it with (set! (window-handle:child self) value).

Procedures

Method: window-handle:get-child self ⇒ %return
Method: get-child self ⇒ %return

Gets the child widget of self.

self

Passed: a <GtkWindowHandle>.

a <GtkWindowHandle>

%return

Returned: a <GtkWidget>, or #f.

the child widget of self

Procedure: window-handle:new ⇒ %return

Creates a new <GtkWindowHandle>.

%return

Returned: a <GtkWidget>.

a new <GtkWindowHandle>.

Method: window-handle:set-child self [child]
Method: set-child self [child]

Sets the child widget of self.

self

Passed: a <GtkWindowHandle>.

a <GtkWindowHandle>

child

Passed, or left out: a <GtkWidget>, or #f.

the child widget