edifice.View

class edifice.View(layout='column', **kwargs)[source]

Bases: edifice.base_components._LinearView

Basic layout widget for grouping children together

Content that does not fit into the View layout will be clipped. To allow scrolling in case of overflow, use ScrollView.

Parameters

layout (str) – one of column, row, or none. A row layout will lay its children in a row and a column layout will lay its children in a column. When row or column layout are set, the position of their children is not adjustable. If layout is none, then all children by default will be positioend at the upper left-hand corner of the View (x=0, y=0). Children can set the top and left attributes of their style to position themselves relevative to their parent.

Methods

Attributes

children

The children of this component.

props

The props of this component.