Handy.WindowHandle

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.EventBox Gtk.EventBox Gtk.Bin->Gtk.EventBox Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Handy.WindowHandle Handy.WindowHandle Gtk.EventBox->Handy.WindowHandle Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.EventBox (5), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.EventBox (2), Gtk.Container (3), Gtk.Widget (39)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Class Details

class Handy.WindowHandle(**kwargs)
Bases:

Gtk.EventBox

Abstract:

No

Structure:

Handy.WindowHandleClass

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.

New in version 1.0.

classmethod new()
Returns:

the newly created HdyWindowHandle

Return type:

Gtk.Widget

Creates a new HdyWindowHandle.

New in version 1.0.