Class clove::StackLayoutΒΆ

class clove::StackLayout : public clove::GridLayout

A mixin for stack layout implementations.

Subclassed by clove::HorizontalStack, clove::VerticalStack

Public Functions

insertRow(i)

Inserts a new empty row to the grid.

Parameters
  • i: The row index.

insertColumn(i)

Inserts a new empty column to the grid.

Parameters
  • i: The column index.

removeRow(i)

Removes a row from the grid.

Parameters
  • i: The row index.

removeColumn(i)

Removes a column from the grid.

Parameters
  • i: The column index.

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.