Gdl.DockTablabel

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

Subclasses:

None

Methods

Inherited:

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 (item)

activate ()

deactivate ()

Virtual Methods

Inherited:

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

do_button_pressed_handle (event)

Properties

Inherited:

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

Name

Type

Flags

Short Description

item

Gdl.DockItem

r/w

Dockitem which ‘owns’ this tablabel

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

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

Name

Short Description

button-pressed-handle

This signal is emitted when the user clicks on the label.

Fields

Inherited:

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

Name

Type

Access

Description

active

bool

r

drag_handle_size

int

r

drag_start_event

Gdk.EventButton

r

event_window

Gdk.Window

r

item

Gtk.Widget

r

parent

Gtk.Bin

r

pre_drag

bool

r

Class Details

class Gdl.DockTablabel(**kwargs)
Bases:

Gtk.Bin

Abstract:

No

Structure:

Gdl.DockTablabelClass

classmethod new(item)
Parameters:

item (Gdl.DockItem) – The dock item that associated with this label widget.

Returns:

a new Gdl.DockTablabel.

Return type:

Gtk.Widget

Creates a new GDL tab label widget.

Deprecated since version 3.6: Use a Gtk.Label instead

activate()

Set the widget in “activated” state.

Deprecated since version 3.6.

deactivate()

Set the widget in “deactivated” state.

Deprecated since version 3.6.

do_button_pressed_handle(event) virtual
Parameters:

event (Gdk.EventButton) –

Signal Details

Gdl.DockTablabel.signals.button_pressed_handle(dock_tablabel, event)
Signal Name:

button-pressed-handle

Flags:

RUN_LAST

Parameters:

This signal is emitted when the user clicks on the label.

Property Details

Gdl.DockTablabel.props.item
Name:

item

Type:

Gdl.DockItem

Default Value:

None

Flags:

READABLE, WRITABLE

Dockitem which ‘owns’ this tablabel