Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gtk_sidebar_new () |
void | gtk_sidebar_set_stack () |
GtkStack * | gtk_sidebar_get_stack () |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkSidebar
A GtkSidebar enables you to quickly and easily provide a consistent "sidebar" object for your user interface.
In order to use a GtkSidebar, you simply use a GtkStack to organize
your UI flow, and add the sidebar to your sidebar area. You can use
gtk_sidebar_set_stack()
to connect the GtkSidebar to the GtkStack.
void gtk_sidebar_set_stack (GtkSidebar *sidebar
,GtkStack *stack
);
Set the GtkStack associated with this GtkSidebar.
The sidebar widget will automatically update according to the order (packing) and items within the given GtkStack.
Since 3.16
GtkStack *
gtk_sidebar_get_stack (GtkSidebar *sidebar
);
Retrieves the stack.
See gtk_sidebar_set_stack()
.
Since 3.16