enaml.widgets.scroll_area

Classes

ScrollArea A Frame which displays a single child in a scrollable area.
class enaml.widgets.scroll_area.ScrollArea(parent=None, **kwargs)[source]

Bases: enaml.widgets.frame.Frame

A Frame which displays a single child in a scrollable area.

A ScrollArea has at most a single child Container widget.

horizontal_policy

The horizontal scrollbar policy.

vertical_policy

The vertical scrollbar policy.

widget_resizable

Whether to resize the scroll widget when possible to avoid the need for scrollbars or to make use of extra space.

hug_width

A scroll area is free to expand in width and height by default.

proxy

A reference to the ProxyScrollArea object.

scroll_widget()[source]

Get the scroll widget child defined on the area.

The scroll widget is the last Container child.