Class clove::LayoutΒΆ

class clove::Layout

A mixin for a widget classes which align child widgets in some way.

This is a base type and has some more interesting sub-classes.

Subclassed by clove::FlatLayout, clove::GridLayout, clove::WrapLayout

Public Functions

children()

List of all child widgets in this layout as widget configurations like in clove::build().

setChildren(value)

Setter for children().

Parameters
  • value: The new value.

addChild(value)

Adds a new child widget to the layout.

Parameters
  • value: The new widget as widget configuration like for clove::build().

clearChilds()

Removes all childs from the layout.