mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-11 00:27:48 -04:00
Updated Documentation (markdown)
parent
24f43261b7
commit
ed2a3be3d5
1 changed files with 2 additions and 2 deletions
|
@ -472,10 +472,10 @@ If given a number `current`, return the new `current`. If given a table with a n
|
||||||
#### state, changed = ui:edit('simple'/'field'/'box', valueTable)
|
#### state, changed = ui:edit('simple'/'field'/'box', valueTable)
|
||||||
Add an editable text field widget. The first argument defines the type of editor to use: single line 'simple' and 'field', or multi-line 'box'. The `valueTable` should be a table with a string field named `value`. The field gets updated and the function returns the edit state (one of 'commited'/'activated'/'deactivated'/'active'/'inactive') followed by `true` if the text changed or `false` if the text remained the same.
|
Add an editable text field widget. The first argument defines the type of editor to use: single line 'simple' and 'field', or multi-line 'box'. The `valueTable` should be a table with a string field named `value`. The field gets updated and the function returns the edit state (one of 'commited'/'activated'/'deactivated'/'active'/'inactive') followed by `true` if the text changed or `false` if the text remained the same.
|
||||||
|
|
||||||
#### editFocus()
|
#### ui:editFocus()
|
||||||
Manually focus the following `ui:edit` widget.
|
Manually focus the following `ui:edit` widget.
|
||||||
|
|
||||||
#### editUnfocus()
|
#### ui:editUnfocus()
|
||||||
Manually unfocus the following `ui:edit` widget.
|
Manually unfocus the following `ui:edit` widget.
|
||||||
|
|
||||||
#### index = ui:combobox(index, items)
|
#### index = ui:combobox(index, items)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue