Message102617
> 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. |
|
Date |
User |
Action |
Args |
2010-04-08 13:08:04 | loewis | set | recipients:
+ loewis, gpolo, srid |
2010-04-08 13:08:02 | loewis | link | issue8204 messages |
2010-04-08 13:08:02 | loewis | create | |
|