Gtk.WindowHandle¶
class — extends Widget, Accessible, Buildable, ConstraintTarget
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 AccessibleRole.group role.
Starting from GTK 4.12, GtkWindowHandle uses the AccessibleRole.generic
role.
Constructors¶
new¶
Creates a new GtkWindowHandle.
Methods¶
get_child¶
Gets the child widget of self.
set_child¶
Sets the child widget of self.
Parameters:
child— the child widget
Properties¶
child¶
The child widget.