Ardillo\VerticalBox

Description

Ardillo base VerticalBox class.

Properties

VerticalBox::$app

Associated App instance

  • type: App

Methods

VerticalBox::__construct()

Creates a new VerticalBox instance

VerticalBox::isValid()

Returns whether the vertical box is valid or not

Returns bool

Box::getPadded()

Returns the whether the box is padded or not

Returns bool

Box::setPadded(bool $padded)

Sets whether the box is padded or not

  • bool $padded:

Box::append(Control $child, bool $stretchy)

Appends a child control to the box

  • Control $child: The child control to be appended
  • bool $stretchy: Whether the child should be stretched or not

Box::delete(int $index)

Deletes a child at a given index

  • int $index: The index of the child to be deleted

Box::childrenCount()

Returns the current children count

Returns int

Control::disable()

Disables the control

Control::enable()

Enables the control

Control::isEnabled()

Returns whether the control is enabled or not

Returns bool

Control::isEnabledToUser()

Returns whether the control is enabled to the user or not

Returns bool

Control::hide()

Hides the control

Control::show()

Shows the control

Control::isTopLevel()

Returns whether the control is a top-level control or not

Returns bool

Control::isVisible()

Returns whether the control is visible or not

Returns bool