Combo Control

- « UI\Controls\Separator::__construct

- UI\Controls\Combo::append »

- PHP Manual
- UI
- Combo Control

# Combo Control

(UI 0.9.9)

## Introduction

A Combo control represents a list of options, like the familiar select HTML element.

## Class synopsis

class UI\Controls\Combo extends UI\Control {
/* Methods */
public append(string `$text`)
public getSelected(): int
protected onSelected()
public setSelected(int `$index`)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control::getParent(): UI\Control
public UI\Control::getTopLevel(): int
public UI\Control::hide()
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
public UI\Control::setParent(UI\Control `$parent`)
public UI\Control::show()
}

## Table of Contents

- UI\Controls\Combo::append — Append Option
- UI\Controls\Combo::getSelected — Get Selected Option
- UI\Controls\Combo::onSelected — Selected Handler
- UI\Controls\Combo::setSelected — Set Selected Option