# enaml.widgets.stack_item

Classes

`StackItem` | A widget which can be used as an item in a Stack.

class enaml.widgets.stack_item.StackItem(parent=None, **kwargs)

  Bases: `Widget`

  A widget which can be used as an item in a Stack.

  A StackItem is a widget which can be used as a child of a Stack widget. It can have at most a single child widget which is an instance of Container.

  proxy

    A reference to the ProxyStackItem object.

  stack_widget()

    Get the stack widget defined for the item.

    The stack widget is the last child Container.

  activated

    An event fired when an object’s proxy is activated. It is triggered once during the object lifetime, at the end of the activate_proxy method.