Ardillo\FontButton

Description

Ardillo base FontButton class.

Properties

FontButton::$app

Associated App instance

  • type: App

Methods

FontButton::__construct()

Creates a new FontButton instance

FontButton::isValid()

Returns whether the font button is valid or not

Returns bool

FontButton::onChanged()

Callback to be executed when the font selection is changed

FontButton::getFont()

Returns the current selected font

Returns FontDescriptor

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