How to set the tab order in a tkinter application?

Viewed 12937

I have been searching for a way to set the tab order in a tkinter application, that I have been working on. Currently the default order seems to be working from top-down, but it requires using CTRL + Tab to cycle through the controls.

Is there any way to customize the order and, more so, change the CTRL + Tab to just Tab?

2 Answers

I've been searching for ways to skip some widgets while tabbing and found in tkinter's tk_focusNext function description the following: "A widget is omitted if it has the takefocus resource set to 0." you can set takefocus on widget initialization as an argument.

Related