Martin v. Löwis <mar...@v.loewis.de> added the comment: > Could it be caused because the notebook is not focused at the correct > time ? Here in OSX (finally I have one of these) I had to add > self.nb.focus() before that event_generate.
No, that doesn't help. The event still gets lost. In particular, running ttk::notebook .nb .nb add [label .nb.l1 -text hello] -text a .nb add [label .nb.l2 -text world] -text b pack .nb focus .nb puts [.nb select] event generate .nb <Key-Right> puts [.nb select] in wish prints ".nb.l1" twice; pressing the right key at the end of the script does cycle properly, though. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8204> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com