Top | ![]() |
![]() |
![]() |
![]() |
GtkStackSidebar implements GtkAccessible, GtkBuildable and GtkConstraintTarget.
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_set_stack()
to connect the GtkStackSidebar
to the GtkStack.
void gtk_stack_sidebar_set_stack (GtkStackSidebar *self
,GtkStack *stack
);
Set the GtkStack associated with this GtkStackSidebar.
The sidebar widget will automatically update according to the order (packing) and items within the given GtkStack.
GtkStack *
gtk_stack_sidebar_get_stack (GtkStackSidebar *self
);
Retrieves the stack.
See gtk_stack_sidebar_set_stack()
.
“stack”
property“stack” GtkStack *
Associated stack for this GtkStackSidebar.
Owner: GtkStackSidebar
Flags: Read / Write