enaml.widgets.splitter

Classes

Splitter

A widget which displays its children in separate resizable compartments that are connected with a resizing bar.

class enaml.widgets.splitter.Splitter(parent=None, **kwargs)[source]

Bases: enaml.widgets.constraints_widget.ConstraintsWidget

A widget which displays its children in separate resizable compartments that are connected with a resizing bar.

A Splitter can have an arbitrary number of Container children.

orientation

The orientation of the Splitter. ‘horizontal’ means the children are laid out left to right, ‘vertical’ means top to bottom.

live_drag

Whether the child widgets resize as a splitter is being dragged (True), or if a simple indicator is drawn until the drag handle is released (False). The default is True.

hug_width

A splitter expands freely in height and width by default.

proxy

A reference to the ProxySplitter object.

split_items()[source]

Get the split item children defined on the splitter.