gtk.stack_sidebar
Module for [StackSidebar] class
Types 3
classStackSidebar : gtk.bin.Bin
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 [gtk.stack_sidebar.StackSidebar.setStack] 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.
Methods
StackSidebar self()Returns `this`, for use in `with` statements.StackSidebarGidBuilder builder()Get builder for [gtk.stack_sidebar.StackSidebar] Returns: New builder objectgtk.stack.Stack stack() @propertyvoid stack(gtk.stack.Stack propval) @propertygtk.stack.Stack getStack()Retrieves the stack. See [gtk.stack_sidebar.StackSidebar.setStack]. Returns: the associated #GtkStack or null if none has been set explicitlyvoid setStack(gtk.stack.Stack stack)Set the #GtkStack associated with this #GtkStackSidebar.classStackSidebarGidBuilderImpl(T) : gtk.bin.BinGidBuilderImpl!T
Methods
T stack(gtk.stack.Stack propval)Fluent builder for [gtk.stack_sidebar.StackSidebar]
Methods