| Top |
GObject
╰── GInitiallyUnowned
╰── CtkWidget
╰── CtkContainer
╰── CtkBox
╰── CtkStackSwitcher
CtkStackSwitcher implements AtkImplementorIface, CtkBuildable and CtkOrientable.
The CtkStackSwitcher widget acts as a controller for a CtkStack; it shows a row of buttons to switch between the various pages of the associated stack widget.
All the content for the buttons comes from the child properties of the CtkStack; the button visibility in a CtkStackSwitcher widget is controlled by the visibility of the child in the CtkStack.
It is possible to associate multiple CtkStackSwitcher widgets with the same CtkStack widget.
The CtkStackSwitcher widget was added in 3.10.
CtkWidget *
ctk_stack_switcher_new (void);
Create a new CtkStackSwitcher.
Since: 3.10
void ctk_stack_switcher_set_stack (CtkStackSwitcher *switcher,CtkStack *stack);
Sets the stack to control.
Since: 3.10
CtkStack *
ctk_stack_switcher_get_stack (CtkStackSwitcher *switcher);
Retrieves the stack.
See ctk_stack_switcher_set_stack().
Since: 3.10
“icon-size” property “icon-size” int
Use the "icon-size" property to change the size of the image displayed when a CtkStackSwitcher is displaying icons.
Owner: CtkStackSwitcher
Flags: Read / Write
Allowed values: >= 0
Default value: 1
Since: 3.20
“stack” property“stack” CtkStack *
Stack.
Owner: CtkStackSwitcher
Flags: Read / Write / Construct