enaml.widgets.frame

Classes

Border A class for defining a border on a Frame.
Frame A ConstraintsWidget that draws an optional border.
class enaml.widgets.frame.Border[source]

Bases: atom.atom.Atom

A class for defining a border on a Frame.

Border instances should be treated as read-only once created.

style

The style of the border.

line_style

The showdow style applied to the border.

line_width

The thickness of the outer border line.

midline_width

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

class enaml.widgets.frame.Frame(parent=None, **kwargs)[source]

Bases: enaml.widgets.constraints_widget.ConstraintsWidget

A ConstraintsWidget that draws an optional border.

This class serves as a base class for widgets such as Container and ScrollArea. It should not normally be used directly by user code.

border

The border to apply to the frame. This may not be supported by all toolkit backends.

proxy

A reference to the ProxyContainer object.