Gtk.WindowHandle¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (183), GObject.Object (37), Gtk.Accessible (17), 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:
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
GtkWindowHandlehas a single CSS node with the namewindowhandle.- Accessibility
Until GTK 4.10,
GtkWindowHandleused the [enum`Gtk`.AccessibleRole.group] role.Starting from GTK 4.12,
GtkWindowHandleuses the [enum`Gtk`.AccessibleRole.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.WidgetorNone
Gets the child widget of self.
- set_child(child)[source]¶
- Parameters:
child (
Gtk.WidgetorNone) – the child widget
Sets the child widget of self.
Property Details¶
- Gtk.WindowHandle.props.child¶
- Name:
child- Type:
- Default Value:
- Flags:
The child widget.