Tepl.PanelContainer¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Tepl.Panel (3)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Tepl.PanelContainer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
Tepl.PanelContainer
.- Return type:
New in version 6.8.
- get_active_item()¶
- Returns:
the
Tepl.PanelItem
currently shown in self.- Return type:
New in version 6.8.
- get_active_item_name()¶
- Returns:
the name of the
Tepl.PanelItem
currently shown in self.- Return type:
New in version 6.8.
- get_items()¶
- Returns:
all the items of self.
- Return type:
New in version 6.8.
- has_several_items()¶
- Returns:
whether self has more than one
Tepl.PanelItem
.- Return type:
Convenience function. Useful to implement a switcher widget.
New in version 6.8.
- set_active_item_name(name)¶
- Parameters:
name (
str
) – a name.
Calls
Tepl.Panel.set_active
() with theTepl.PanelItem
named name (if found).New in version 6.8.
Signal Details¶
- Tepl.PanelContainer.signals.changed(panel_container)¶
- Signal Name:
changed
- Flags:
- Parameters:
panel_container (
Tepl.PanelContainer
) – The object which received the signal
The
::changed
signal is emitted when:A
Tepl.PanelItem
is added or removed from container.The active
Tepl.PanelItem
of container has changed.
New in version 6.8.