|
|
@ -4468,9 +4468,10 @@ calling ``setFocus(true)`` on the field object.
|
|
|
|
If an activation ``key`` is specified, the ``EditField`` will manage its own
|
|
|
|
If an activation ``key`` is specified, the ``EditField`` will manage its own
|
|
|
|
focus. It will start in the unfocused state, and pressing the activation key
|
|
|
|
focus. It will start in the unfocused state, and pressing the activation key
|
|
|
|
will acquire keyboard focus. Pressing the Enter key will release keyboard focus
|
|
|
|
will acquire keyboard focus. Pressing the Enter key will release keyboard focus
|
|
|
|
and then call the ``on_submit`` callback. Pressing the Escape key will also
|
|
|
|
and then call the ``on_submit`` callback. Pressing the Escape key (or r-clicking
|
|
|
|
release keyboard focus, but first it will restore the text that was displayed
|
|
|
|
with the mouse) will also release keyboard focus, but first it will restore the
|
|
|
|
before the ``EditField`` gained focus and then call the ``on_change`` callback.
|
|
|
|
text that was displayed before the ``EditField`` gained focus and then call the
|
|
|
|
|
|
|
|
``on_change`` callback.
|
|
|
|
|
|
|
|
|
|
|
|
The ``EditField`` cursor can be moved to where you want to insert/remove text.
|
|
|
|
The ``EditField`` cursor can be moved to where you want to insert/remove text.
|
|
|
|
You can click where you want the cursor to move or you can use any of the
|
|
|
|
You can click where you want the cursor to move or you can use any of the
|
|
|
|