Constructor

@:value({ curId : 0 })new(x:Float, y:Float, w:Float, options:Array<String>, onChange:Int ‑> Void, curId:Int = 0, ?normalButton:ThemeData, ?hoverButton:ThemeData, ?pressedButton:ThemeData, ?disabledButton:ThemeData)

Variables

options:Array<String>

@:value(-1)selectedIndex:Int = -1

onChange:Int ‑> Void

Methods

onClick():Void

onSelectionChange(id:Int):Void

Inherited Variables

Inherited Methods

Defined by Button

onFocus():Void

resize(width:Float, height:Float):Void