class TextButton
package buw
extends Button › Control › Widget › Sprite › DisplayObjectContainer › InteractiveObject › DisplayObject › EventDispatcher
Constructor
new (listener:TextButton ‑> Void, text:String, ?relativeWidth:Float)
@param text the text of the button
* @param relativeWidth the widget relative width; defaults to 1
Parameters:
listener | what to do when the button is clicked * |
---|