Package: gtk

Accessor gtk:stack-visible-child

Lambda List

gtk:stack-visible-child (object)

Syntax

(gtk:stack-visible-child object) => child
(setf (gtk:stack-visible-child object) child)

Arguments

object -- a gtk:stack widget
child -- a gtk:widget child widget of the stack

Details

The accessor for the visible-child slot of the gtk:stack class gets or sets the currently visible child widget of the stack. Pass the nil value to unset the visible child widget.

If widget is different from the currently visible child widget, the transition between the two will be animated with the current transition type of stack.

Note that the child widget has to be visible itself, see the gtk:widget-visible function, in order to become the visible child of the stack.
 

See also

2025-07-30