AgsGui.Notebook¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Box (14), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Gtk.Orientable (2)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Gtk.Box (4), Gtk.Widget (34), Gtk.Accessible (1), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The tab’s height |
||
r/w |
The tab’s width |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
box |
r |
||
navigation |
r |
||
scroll_next |
r |
||
scroll_prev |
r |
||
scrolled_window |
r |
||
tab |
[ |
r |
|
tab_box |
r |
||
tab_height |
r |
||
tab_width |
r |
Class Details¶
- class AgsGui.Notebook(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a new
AgsGui.Notebook
- Return type:
Create a new
AgsGui.Notebook
.New in version 3.0.0.
- add_tab(tab)¶
- Parameters:
tab (
Gtk.ToggleButton
) – theGtk.ToggleButton
Add tab to self.
New in version 3.0.0.
- get_tab()¶
- Returns:
the
GLib.List
-struct containingGtk.ToggleButton
- Return type:
Get tab.
New in version 4.0.0.
- insert_tab(tab, position)¶
- Parameters:
tab (
Gtk.ToggleButton
) – theGtk.ToggleButton
position (
int
) – the position as integer
Insert a new #AgsNotebookTab-struct to self.
New in version 3.0.0.
- next_active_tab(position)¶
- Parameters:
position (
int
) – the position as integer- Returns:
the position of next active tab as integer
- Return type:
Get next active tab following position.
New in version 3.0.0.
- remove_tab(tab)¶
- Parameters:
tab (
Gtk.ToggleButton
) – theGtk.ToggleButton
Remove tab from self.
New in version 3.0.0.
Property Details¶
- AgsGui.Notebook.props.tab_height¶
-
The tab’s height.
New in version 4.0.0.