# enaml.widgets.split_item

Classes

`SplitItem` | A widget which can be used as an item in a Splitter.

class enaml.widgets.split_item.SplitItem(parent=None, **kwargs)

  Bases: `Widget`

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

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

  stretch

    The stretch factor for this item. The stretch factor determines how much an item is resized relative to its neighbors when the splitter space is allocated.

  collapsible

    Whether or not the item can be collapsed to zero width by the user. This holds regardless of the minimum size of the item.

  preferred_size

    This is a deprecated attribute. It should no longer be used.

  proxy

    A reference to the ProxySplitItem object.

  split_widget()

    Get the split widget defined on the item.

    The split 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.