Aug-09-2018, 12:39 PM
(Aug-04-2018, 11:05 AM)jfong Wrote: Can you add a "focus" option for some elements? just like some widgets the tkinter has.
I just added a new "focus" option on 3 of the elements:
Input single line
Input multi line
Buttons
If no focus is manually set, then the first input or button field will be used as the focus, same as today.
I also added a new "bind_return_key" option for buttons. This allows the user to set exactly which button will react to the return key being pressed.
These changes will roll into the 2.8 release on PyPI. Prior to the official post, I am uploading to GitHub so it can be tested a little first.
Hoping it doesn't break anything!