HdyWindowHandle

HdyWindowHandle — A bin that acts like a titlebar.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkEventBox
                        ╰── HdyWindowHandle

Implemented Interfaces

HdyWindowHandle implements AtkImplementorIface and GtkBuildable.

Description

HdyWindowHandle is a GtkBin subclass that can be dragged to move its GtkWindow, and handles right click, middle click and double click as expected from a titlebar. This is particularly useful with HdyWindow or HdyApplicationWindow.

It isn't necessary to use HdyWindowHandle if you use HdyHeaderBar.

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

CSS nodes

HdyWindowHandle has a single CSS node with name windowhandle.

Functions

hdy_window_handle_new ()

GtkWidget *
hdy_window_handle_new (void);

Creates a new HdyWindowHandle.

Returns

a newly created HdyWindowHandle.

[transfer full]

Since: 1.0

Types and Values

HDY_TYPE_WINDOW_HANDLE

#define HDY_TYPE_WINDOW_HANDLE (hdy_window_handle_get_type())

struct HdyWindowHandleClass

struct HdyWindowHandleClass {
  GtkEventBoxClass parent_class;
};

HdyWindowHandle

typedef struct _HdyWindowHandle HdyWindowHandle;

See Also

HdyApplicationWindow, HdyHeaderBar, HdyWindow