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)[source]

Bases: enaml.widgets.widget.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()[source]

Get the stack widget defined for the item.

The stack widget is the last child Container.