Tepl.TabLabel

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 Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Box Gtk.Box Tepl.TabLabel Tepl.TabLabel Gtk.Box->Tepl.TabLabel Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

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

class

new (tab)

get_tab ()

update_tooltip ()

Virtual Methods

Inherited:

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

do_get_tooltip_markup ()

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

tab

Tepl.Tab

r/w/co

Child Properties

Inherited:

Gtk.Box (5)

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.Box

r

Class Details

class Tepl.TabLabel(*args, **kwargs)
Bases:

Gtk.Box

Abstract:

No

Structure:

Tepl.TabLabelClass

classmethod new(tab)
Parameters:

tab (Tepl.Tab) – a Tepl.Tab.

Returns:

a new Tepl.TabLabel.

Return type:

Gtk.Widget

New in version 3.0.

get_tab()
Returns:

the Tepl.TabLabel :tab.

Return type:

Tepl.Tab or None

New in version 3.0.

update_tooltip()

Asks Tepl.TabLabel to update its tooltip. The ::get_tooltip_markup virtual function is called and the result is set with Gtk.Widget.set_tooltip_markup().

New in version 3.0.

do_get_tooltip_markup() virtual
Return type:

str

Virtual function pointer to create the tooltip markup string. None must be returned if no tooltip is wanted. The result is intended to be used as an argument to Gtk.Widget.set_tooltip_markup(). The default implementation returns the full Tepl.File :location if non-None, or None otherwise. The return value must be freed with GLib.free() when no longer needed.

Property Details

Tepl.TabLabel.props.tab
Name:

tab

Type:

Tepl.Tab

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The associated Tepl.Tab. Tepl.TabLabel has a weak reference to the Tepl.Tab.

New in version 3.0.