Gtk.StackSidebar¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
Associated stack for this |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Gtk.StackSidebar(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
Gtk.StackSidebar
enables you to quickly and easily provide a consistent “sidebar” object for your user interface.In order to use a
Gtk.StackSidebar
, you simply use aGtk.Stack
to organize your UI flow, and add the sidebar to your sidebar area. You can useGtk.StackSidebar.set_stack
() to connect theGtk.StackSidebar
to theGtk.Stack
.- CSS nodes
Gtk.StackSidebar
has a single CSS node with name stacksidebar and style class .sidebar.When circumstances require it,
Gtk.StackSidebar
adds the .needs-attention style class to the widgets representing the stack pages.New in version 3.16.
- classmethod new()[source]¶
- Returns:
the new
Gtk.StackSidebar
- Return type:
Creates a new sidebar.
New in version 3.16.
- get_stack()[source]¶
-
Retrieves the stack. See
Gtk.StackSidebar.set_stack
().New in version 3.16.
Property Details¶
- Gtk.StackSidebar.props.stack¶
- Name:
stack
- Type:
- Default Value:
- Flags:
Associated stack for this
Gtk.StackSidebar