gtk.stack_sidebar

Module for [StackSidebar] class

Types 3

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
GType _getGType() static nothrow
GType _gType() @property nothrow
StackSidebar self() nothrowReturns `this`, for use in `with` statements.
StackSidebarGidBuilder builder() static nothrowGet builder for [gtk.stack_sidebar.StackSidebar] Returns: New builder object
gtk.stack.Stack stack() @property nothrow
void stack(gtk.stack.Stack propval) @property nothrow
gtk.stack.Stack getStack() nothrowRetrieves the stack. See [gtk.stack_sidebar.StackSidebar.setStack]. Returns: the associated #GtkStack or null if none has been set explicitly
void setStack(gtk.stack.Stack stack) nothrowSet the #GtkStack associated with this #GtkStackSidebar.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new sidebar. Returns: the new #GtkStackSidebar

Fluent builder implementation template for gtk.stack_sidebar.StackSidebar

Methods
T stack(gtk.stack.Stack propval) nothrow
Methods
StackSidebar build() nothrowCreate object from builder. Returns: New object