php8.5
Home/ Manual/ controls / box/ UI\Controls\Box::append

UI\Controls\Box::append

PHP function Edit on GitHub ✎

(UI 0.9.9)

Append Control

Description

UI\Controls\Box::append(Control $control, bool $stretchy = false): int

Shall append the given control to this Box

Parameters

control

The control to append

stretchy

Set true to stretch the control

Return Values

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

Source: reference/ui/ui/controls/box/append.xml · from the official PHP manual (php/doc-en)