WindowHandle


Object Hierarchy:

Gtk.WindowHandle Gtk.WindowHandle Gtk.WindowHandle Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.WindowHandle GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.WindowHandle Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.WindowHandle Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.WindowHandle Gtk.ConstraintTarget->Gtk.Widget

Description:

[ CCode ( type_id = "gtk_window_handle_get_type ()" ) ]
public sealed class WindowHandle : Widget, Accessible, Buildable, ConstraintTarget

`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 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.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget