Gtk.WindowHandle¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.WindowHandle(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GtkWindowHandle
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
GtkWindowHandle
has a single CSS node with the namewindowhandle
.- Accessibility
Until GTK 4.10,
GtkWindowHandle
used theGTK_ACCESSIBLE_ROLE_GROUP
role.Starting from GTK 4.12,
GtkWindowHandle
uses theGTK_ACCESSIBLE_ROLE_GENERIC
role.- classmethod new()[source]¶
- Returns:
a new
GtkWindowHandle
.- Return type:
Creates a new
GtkWindowHandle
.
- get_child()[source]¶
- Returns:
the child widget of self
- Return type:
Gtk.Widget
orNone
Gets the child widget of self.
- set_child(child)[source]¶
- Parameters:
child (
Gtk.Widget
orNone
) – the child widget
Sets the child widget of self.
Property Details¶
- Gtk.WindowHandle.props.child¶
- Name:
child
- Type:
- Default Value:
- Flags:
The child widget.