Class

GtkWindowHandle

[]

Description [src]

final class Gtk.WindowHandle : Gtk.Widget
  implements Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
  /* No available fields */
}

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_ACCESSIBLE_ROLE_GROUP role.

Starting from GTK 4.12, GtkWindowHandle uses the GTK_ACCESSIBLE_ROLE_GENERIC role.

[]

Hierarchy

hierarchy this GtkWindowHandle implements_0 GtkAccessible this--implements_0 implements_1 GtkBuildable this--implements_1 implements_2 GtkConstraintTarget this--implements_2 ancestor_0 GtkWidget ancestor_0--this ancestor_1 GInitiallyUnowned ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1
[]

Constructors

gtk_window_handle_new

Creates a new GtkWindowHandle.

[]

Instance methods

gtk_window_handle_get_child

Gets the child widget of self.

gtk_window_handle_set_child

Sets the child widget of self.

Methods inherited from GtkWidget (164)
Methods inherited from GObject (43)
Methods inherited from GtkAccessible (20)
Methods inherited from GtkBuildable (1)
[]

Properties

Gtk.WindowHandle:child

The child widget.

Properties inherited from GtkWidget (35)
Properties inherited from GtkAccessible (1)
[]

Signals

Signals inherited from GtkWidget (13)
Signals inherited from GObject (1)

Class structure