Bases: enaml.widgets.constraints_widget.ConstraintsWidget
A widget which displays a single child in a scrollable area.
A ScrollArea has at most a single child Container widget.
The horizontal scrollbar policy.
The vertical scrollbar policy.
Whether to resize the scroll widget when possible to avoid the need for scrollbars or to make use of extra space.
A read only property which returns the scrolled widget.
How strongly a component hugs it’s contents’ width. Scroll areas do not hug their width and are free to expand.
How strongly a component hugs it’s contents’ height. Scroll areas do not hug their height and are free to expand.
Return a dictionary which contains all the state necessary to initialize a client widget.
alias of __NoInterface__
Bases: enaml.qt.qt_constraints_widget.QtConstraintsWidget
A Qt implementation of an Enaml ScrollArea.
Find and return the scroll widget child for this widget.
Returns: | result (QWidget or None) – The scroll widget defined for this widget, or None if one is not defined. |
---|
A reimplemented QtConstraintsWidget layout method.
Constraints layout may not cross the boundary of a ScrollArea, so this method is no-op which stops the layout propagation.
Handle the ‘set_horizontal_policy’ action from the Enaml widget.
Handle the ‘set_vertical_policy’ action from the Enaml widget.
Bases: enaml.wx.wx_constraints_widget.WxConstraintsWidget
A Wx implementation of an Enaml ScrollArea.
Find and return the scroll widget child for this widget.
Returns: | result (wxWindow or None) – The scroll widget defined for this widget, or None if one is not defined. |
---|
A reimplemented WxConstraintsWidget layout method.
Constraints layout may not cross the boundary of a ScrollArea, so this method is no-op which stops the layout propagation.
Handle the ‘set_horizontal_policy’ action from the Enaml widget.
Handle the ‘set_vertical_policy’ action from the Enaml widget.