This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients gpolo, loewis, srid
Date 2010-04-08.13:08:02
SpamBayes Score 0.0006447085
Marked as misclassified No
Message-id <4BBDD530.7090100@v.loewis.de>
In-reply-to <h2uac2200131004080555re4f2041ck99a94b02656fb91d@mail.gmail.com>
Content
> 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.
History
Date User Action Args
2010-04-08 13:08:04loewissetrecipients: + loewis, gpolo, srid
2010-04-08 13:08:02loewislinkissue8204 messages
2010-04-08 13:08:02loewiscreate