WindowHandle


Object Hierarchy:

Hdy.WindowHandle Hdy.WindowHandle Hdy.WindowHandle Gtk.EventBox Gtk.EventBox Gtk.EventBox->Hdy.WindowHandle Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.EventBox Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Container GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Hdy.WindowHandle Atk.Implementor->Gtk.EventBox Atk.Implementor->Gtk.Bin Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Hdy.WindowHandle Gtk.Buildable->Gtk.EventBox Gtk.Buildable->Gtk.Bin Gtk.Buildable->Gtk.Container Gtk.Buildable->Gtk.Widget

Description:

[ CCode ( type_id = "hdy_window_handle_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public sealed class WindowHandle : EventBox, Implementor, Buildable

A bin that acts like a titlebar.

`HdyWindowHandle` is a [class@Gtk.Bin] subclass that can be dragged to move its [class@Gtk.Window], and handles right click, middle click and double click as expected from a titlebar. This is particularly useful with [class@Window] or [class@ApplicationWindow].

It isn't necessary to use `HdyWindowHandle` if you use [class@HeaderBar].

It can be safely nested or used in the actual window titlebar.

CSS nodes

`HdyWindowHandle` has a single CSS node with name `windowhandle`.


Namespace: Hdy
Package: libhandy-1

Content:

Creation methods:

Inherited Members:

All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor