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 gets or sets the currently visible child widget of the stack. Returns nil if there are no visible children.

If the child 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-show function, in order to become the visible child of the stack.
 

See also

2026-06-19