Top | ![]() |
![]() |
![]() |
![]() |
GtkStackSwitcher implements GtkAccessible, GtkBuildable and GtkConstraintTarget.
The GtkStackSwitcher widget acts as a controller for a GtkStack; 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 GtkStack; the button visibility in a GtkStackSwitcher widget is controlled by the visibility of the child in the GtkStack.
It is possible to associate multiple GtkStackSwitcher widgets with the same GtkStack widget.
void gtk_stack_switcher_set_stack (GtkStackSwitcher *switcher
,GtkStack *stack
);
Sets the stack to control.
GtkStack *
gtk_stack_switcher_get_stack (GtkStackSwitcher *switcher
);
Retrieves the stack.
See gtk_stack_switcher_set_stack()
.
“stack”
property“stack” GtkStack *
Stack.
Owner: GtkStackSwitcher
Flags: Read / Write / Construct