Form - Garland-g/perl6-libui GitHub Wiki

Form

Libui::Form

A container that assigns a label to each widget.

Methods

new()

Create a Form.

append(Str:D $label, Libui::Control $control, Bool:D(Int) $stretchy) or set-content(Str:D $label, Libui::Control $control, Bool:D(Int) $stretchy)

Appends a widget to the Form. Stretchy determines whether the widget should stretch to fill the available space or not.

delete-item(UInt $index)

Deletes the widget at index $index.

padded() returns Bool

Returns the value of the padded property.

set-padded(Bool:D(Int) $padded) or padded(Bool:D(Int) $padded)

Sets the value of the padded property.