Package: gtk

Class gtk:stack-sidebar

Superclasses

Documented Subclasses

None

Direct Slots

stack
The stack property of type gtk:stack (Read / Write)
Associated stack for this stack sidebar.

Details

The gtk:stack-sidebar widget enables you to quickly and easily provide a consistent "sidebar" object for your user interface.

Figure: GtkStackSidebar

In order to use the gtk:stack-sidebar widget, you simply use the gtk:stack widget to organize your UI flow, and add the sidebar to your sidebar area. You can use the gtk:stack-sidebar-stack function to connect the gtk:stack-sidebar widget to the gtk:stack widget.

CSS nodes

The gtk:stack-sidebar implementation has a single CSS node with name stacksidebar and .sidebar style class. When circumstances require it, the gtk:stack-sidebar widget adds the .needs-attention style class to the widgets representing the stack pages.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2023-8-9