Open tril0byte opened 5 years ago
here is what I suggest
events on Mouse Enter and Leave GUI Element - the GUI element already highlights to indicate it's sensitive, but expose this to the app so I can ignore mouse clicks.
events on Keyboard Enter and Leave GUI Element - for keyboard sensitive GUI elements - the GUI element shows a highlight (and a cursor in editText) to indicate it's sensitive, but expose this to the app so I can ignore keystrokes
editText should handle the Escape key by reverting its contents
editText should handle Enter to end editing and keep the changes
Could there be a way to detect when a GUI EditText element has been activated? I am looking for a way to stop handling key input in other areas of my program while the text is being edited, so they key is not sent to two places at once. To implement key focus, I request a feature for an event that notifies me when the editText has a cursor in it.
More than this (possibly needs a separate issue made), if I place a Button somewhere, and click it, I would like to be able to detect whether the click was sent to the Button, since my left button should ONLY click the button in that case, and not trigger other actions like dragging the background.