Sets our main struct and passes it to the parent class.
Creates a new sidebar.
Retrieves the stack. See Stack.sidebarSetStack.
Get the main Gtk struct
the main Gtk struct as a void*
Set the gtk.Stack associated with this gtk.StackSidebar
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Gets the child of the gtk.Bin, or NULL if the bin contains no child widget. The returned widget does not have a reference added, so you do not need to unref it.
A GtkStackSidebar enables you to quickly and easily provide a consistent "sidebar" object for your user interface.
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 Stack.sidebarSetStack to connect the gtk.StackSidebar to the gtk.Stack
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.