Gdl.DockItemGrip

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 Gdl.DockItemGrip Gdl.DockItemGrip Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gdl.DockItemGrip Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

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

class

new (item)

has_event (event)

hide_handle ()

set_cursor (in_drag)

set_label (label)

show_handle ()

Virtual Methods

Inherited:

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

Properties

Inherited:

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

Name

Type

Flags

Short Description

item

Gdl.DockItem

w/co

Dockitem which ‘owns’ this grip

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)

Name

Type

Access

Description

parent

Gtk.Container

r

Class Details

class Gdl.DockItemGrip(**kwargs)
Bases:

Gtk.Container

Abstract:

No

Structure:

Gdl.DockItemGripClass

classmethod new(item)
Parameters:

item (Gdl.DockItem) – The dock item that will “own” this grip widget.

Returns:

The newly created dock item grip widget.

Return type:

Gtk.Widget

Creates a new GDL dock item grip object.

has_event(event)
Parameters:

event (Gdk.Event) – A Gdk.Event

Returns:

True if the grip has received the event

Return type:

bool

Return True if the grip window has reveived the event.

hide_handle()

This function hides the dock item’s grip widget handle hatching.

set_cursor(in_drag)
Parameters:

in_drag (bool) – True if a drag operation is started

Change the cursor when a drag operation is started.

New in version 3.6.

set_label(label)
Parameters:

label (Gtk.Widget) – The widget that will become the label.

Replaces the current label widget with another widget.

show_handle()

This function shows the dock item’s grip widget handle hatching.

Property Details

Gdl.DockItemGrip.props.item
Name:

item

Type:

Gdl.DockItem

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Dockitem which ‘owns’ this grip