UI UI\Controls\Form::append

(UI 0.9.9)

UI\Controls\Form::append — 제어 추가


설명

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

양식에 컨트롤을 추가하고 레이블을 설정합니다.


매개변수

label
레이블의 텍스트
control
컨트롤
stretchy
컨트롤을 늘리려면 true로 설정해야 합니다.

반환 값

추가된 컨트롤의 인덱스를 반환해야 하며 0일 수 있습니다.