Options
All
  • Public
  • Public/Protected
  • All
Menu

An editable text box UI element

Hierarchy

Index

Properties

onTextChanged

onTextChanged: MulticastDelegate<(textBox: this, player: Player, text: string) => void>

Called when the edited text changes.

param

The text box where the text changed

param

The player that changed the text

param

The new text

Methods

getOwningObject

getParent

  • Return the widget that contains this widget, for example a border that wraps a check box. Returns undefined if this object has no parent.

    Returns Widget

getText

  • getText(): string
  • Return the currently displayed text.

    Returns string

setText