Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 642 Bytes

File metadata and controls

30 lines (21 loc) · 642 Bytes

StackSidebar

The StackSidebar can be connected to the :doc:`stack` to provide a sidebar for switching between the children contained in the Stack.

Constructor

A StackSidebar is constructed using:

stacksidebar = gtk_stack_sidebar_new();

Methods

To associate the Stack with the StackSidebar call:

stacksidebar.set_stack(stack)

Retrieval of the Stack associated can be made via:

stacksidebar.get_stack()

Example

Below is an example of a StackSidebar:

.. literalinclude:: _examples/stacksidebar.c

Download: :download:`StackSidebar <_examples/stacksidebar.c>`