Object Hierarchy:

Object hierarchy for Stack


[ CCode ( type_id = "gtk_stack_get_type ()" ) ]
public class Stack : Container, Implementor, Buildable

The GtkStack widget is a container which only shows one of its children at a time.

In contrast to GtkNotebook, GtkStack does not provide a means for users to change the visible child. Instead, the StackSwitcher widget can be used with GtkStack to provide this functionality.

Transitions between pages can be animated as slides or fades. This can be controlled with set_transition_type. These animations respect the gtk_enable_animations setting.

The GtkStack widget was added in GTK+ 3.10.

CSS nodes

GtkStack has a single CSS node named stack.


Namespace: Gtk
Package: gtk+-3.0



Creation methods:


Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor