edifice.ScrollView#
- class edifice.ScrollView(layout='column', **kwargs)[source]#
Bases:
_LinearView
Scrollable layout widget for grouping children together.
Underlying Qt Widget QScrollArea
Unlike
View
, overflows in both the x and y direction will cause a scrollbar to show.- Parameters:
layout – one of column or row. A row layout will lay its children in a row and a column layout will lay its children in a column. The position of their children is not adjustable.
Methods
__init__
([layout])register_ref
(reference)Registers provided
Reference
to this Element.set_key
(key)Sets the key of the Element.
Attributes
children
The children of this Element.
props
The props of this Element.
underlying
The underlying QWidget, which may not exist if this Element has not rendered.