rdbende / tkcode

Use Chlorophyll instead
https://github.com/rdbende/chlorophyll
MIT License
19 stars 3 forks source link

What is the autofocus option for? #10

Closed Moosems closed 2 years ago

rdbende commented 2 years ago

If True, the codebox will automatically gain input focus, when created.

Moosems commented 2 years ago

I'm still a bit confused

rdbende commented 2 years ago

So for example, if you have a plain textbox, you have to click into it to be able to start typing. However when using the autofocus option on a codebox, you can start typing immediately when the window appears.

Moosems commented 2 years ago

Thank you!