1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-06 21:51:14 +02:00
Files
2023-01-24 15:18:19 +01:00

1.4 KiB

Input(Text)

Get text input from the user. The widget must be able to

Inherited public methods

Do not use :

This methods are replaced by getValue and setValue

Public methods

setPlaceholder

If set, the widget will show the placeholder character instead of the normal text. Useful for password prompts

Arguments

  • char : string|nil

getPlaceholder

Get the placeholder character.

Return

  • char : string

getValue

Get the inputted value. Return a different value than getText. Prefer this method.

Return

  • value : string

setValue

Get the inputted value. Should be used instead of setText

Arguments

Return