Package: gtk

Accessor gtk:stack-visible-child-name

Lambda List

gtk:stack-visible-child-name (object)

Syntax

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

Arguments

object -- a gtk:stack widget
name -- a string for the name of the visible child of the stack

Details

The accessor for the visible-child-name slot of the gtk:stack class gets or sets the name of the currently visible child of the stack. Returns nil if there is no visible child.

If the child widget is different from the currently visible child, 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