UI\Controls\Form::append

Append Control

説明

public int UI\Controls\Form::append(string $label, UI\Control $control, bool $stretchy = false)

Shall append the control to the form, and set the label

パラメータ

label

The text for the label

control

A control

stretchy

Should be set true to stretch the control

戻り値

Shall return the index of the appended control, may be 0