Tepl.PanelItem

g GObject.GInterface GObject.GInterface Tepl.PanelItem Tepl.PanelItem GObject.GInterface->Tepl.PanelItem

Implementations:

None

Methods

compare_by_title (b)

get_icon_name ()

get_name ()

get_title ()

get_widget ()

Virtual Methods

do_get_icon_name ()

do_get_name ()

do_get_title ()

do_get_widget ()

Properties

None

Signals

None

Fields

None

Class Details

class Tepl.PanelItem
Bases:

GObject.GInterface

Structure:

Tepl.PanelItemInterface

compare_by_title(b)
Parameters:

b (Tepl.PanelItem) – a Tepl.PanelItem.

Returns:

the usual return value for a GLib.CompareFunc.

Return type:

int

A GLib.CompareFunc for the Tepl.PanelItem's “title” attribute.

New in version 6.8.

get_icon_name()
Returns:

the “icon-name” attribute.

Return type:

str or None

Gets the icon name. It can be shown in the UI to choose this item, for example with the Gtk.Image's Gtk.Image :icon-name property.

New in version 6.8.

get_name()
Returns:

the “name” attribute.

Return type:

str or None

Gets the name. It is an ID as a UTF-8 string. It is not displayed in the UI. It uniquely identifies an item within a list.

New in version 6.8.

get_title()
Returns:

the “title” attribute.

Return type:

str or None

Gets the title. It is a human-readable UTF-8 string that can be shown in the UI to choose this item.

New in version 6.8.

get_widget()
Returns:

the “widget” attribute. Is None when the widget has been destroyed.

Return type:

Gtk.Widget or None

Gets the Gtk.Widget (the main content).

New in version 6.8.

do_get_icon_name() virtual
Returns:

the “icon-name” attribute.

Return type:

str or None

Gets the icon name. It can be shown in the UI to choose this item, for example with the Gtk.Image's Gtk.Image :icon-name property.

New in version 6.8.

do_get_name() virtual
Returns:

the “name” attribute.

Return type:

str or None

Gets the name. It is an ID as a UTF-8 string. It is not displayed in the UI. It uniquely identifies an item within a list.

New in version 6.8.

do_get_title() virtual
Returns:

the “title” attribute.

Return type:

str or None

Gets the title. It is a human-readable UTF-8 string that can be shown in the UI to choose this item.

New in version 6.8.

do_get_widget() virtual
Returns:

the “widget” attribute. Is None when the widget has been destroyed.

Return type:

Gtk.Widget or None

Gets the Gtk.Widget (the main content).

New in version 6.8.