enaml.widgets.separator

Classes

Separator A widget which draws a horizontal or vertical separator line.
class enaml.widgets.separator.Separator(parent=None, **kwargs)[source]

Bases: enaml.widgets.control.Control

A widget which draws a horizontal or vertical separator line.

orientation

The orientation of the separator line.

line_style

The line style for the separator.

line_width

The thickness of the outer separator line.

midline_width

The thickness of the inner separator line. This only has an effect for the ‘sunken’ and ‘raised’ line styles.

auto_hug

Whether or not to automatically adjust the ‘hug_width’ and ‘hug_height’ values based on the value of ‘orientation’.

proxy

A reference to the ProxySeparator object.