I want to open a window with the focus set to the first button, so I don't have to tab to it.
If the widget is an Entry widget I can write
widget_name.focus()
There does not appear to be an equivalent for a button widget.
if you are using Tkinter:
buttonname.focus_set()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With