Whilst using Pmw's Group widget (http://pmw.sourceforge.net/) in Python I've hit a snag with tab ordering. Running the code will illustrate the issue:

########################################################

import Pmw

import Tkinter


window = Tkinter.Tk()


Pmw.initialise(window)


for _ in range(5):

    group = Pmw.Group(window, tag_pyclass=Tkinter.Checkbutton)

    entry = Pmw.EntryField(group.interior())


    group.pack()

    entry.pack()

window.mainloop()

########################################################

Bringing focus to the first entry field then tabbing will visually move you upwards, towards the check button above. Then tabbing again will move you past the entry field, the next check button and into the next entry field.

I could orchestrate a huge amount of code to override all of the tab ordering in Tkinter, but that seems like overkill and could potentially pollute the rest of the program.

Can anyone suggest a wrapper or similar to restore tab order to this widget?