Gtk.StackSidebar¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.StackSidebar(**kwargs)¶
- Bases:
- Abstract:
No
A
GtkStackSidebar
uses a sidebar to switch betweenGtkStack
pages.In order to use a
GtkStackSidebar
, you simply use aGtkStack
to organize your UI flow, and add the sidebar to your sidebar area. You can use [method`Gtk`.StackSidebar.set_stack] to connect theGtkStackSidebar
to theGtkStack
.- CSS nodes
GtkStackSidebar
has a single CSS node with name stacksidebar and style class .sidebar.When circumstances require it,
GtkStackSidebar
adds the .needs-attention style class to the widgets representing the stack pages.- classmethod new()[source]¶
- Returns:
the new
GtkStackSidebar
- Return type:
Creates a new
GtkStackSidebar
.