Variable: StackSidebar
constStackSidebar:object
Defined in: react/src/generated/jsx.ts:15383
Uses a sidebar to switch between GtkStack pages.
In order to use a GtkStackSidebar, you simply use a GtkStack to
organize your UI flow, and add the sidebar to your sidebar area. You
can use [method@Gtk.StackSidebar.set_stack] to connect the GtkStackSidebar
to the GtkStack.
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.
Type Declaration
| Name | Type | Defined in |
|---|---|---|
Root | "StackSidebar.Root" | react/src/generated/jsx.ts:15384 |
Stack | "StackSidebar.Stack" | react/src/generated/jsx.ts:15385 |