Package: gtk
Class gtk:stack
Superclassesgtk:container, gtk:widget, gtk:buildable, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:stack widget is a container which only shows one of its
children at a time. In contrast to the gtk:notebook widget, the gtk:stack widget
does not provide a means for users to change the visible child. Instead, the gtk:stack-switcher widget can be used with the gtk:stack
widget to provide this functionality. ![]() Figure: GtkStack Transitions between pages can be animated as slides or fades. This can be controlled with the gtk:stack-transition-type function. These animations respect the gtk-enable-animations setting. CSS nodesChild Property Detailsicon-name The icon-name child property of type :string (Read / Write) The icon name of the child page. Default value: nil name The name child property of type :string (Read / Write) The name of the child page. Default value: nil needs-attention The needs-attention child property of type :boolean (Read / Write) Sets a flag specifying whether the child page requires the user attention. This is used by the the gtk:stack-switcher widget to change the appearance of the corresponding button when a page needs attention and it is not the current one. Default value: false position The position child property of type :int (Read / Write) The index of the child page in the parent. Allowed values: >= -1 Default value: 0 title The title child property of type :string (Read / Write) The title of the child page. Default value: nil | Returned bySlot Access FunctionsInherited Slot Access FunctionsSee also |
2025-06-24