StackSidebar

class StackSidebar(**properties: Any)

Superclasses: Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget

Constructors:

StackSidebar(**properties)
new() -> Gtk.Widget

Constructors

class StackSidebar
classmethod new() Widget

Creates a new GtkStackSidebar.

Methods

class StackSidebar
get_stack() Stack | None

Retrieves the stack.

set_stack(stack: Stack) None

Set the GtkStack associated with this GtkStackSidebar.

The sidebar widget will automatically update according to the order and items within the given GtkStack.

Parameters:

stack – a GtkStack

Properties

class StackSidebar
props.stack: Stack

The stack.