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 gpolo
Recipients gpolo, loewis, srid
Date 2010-04-08.14:38:23
SpamBayes Score 0.0010301376
Marked as misclassified No
Message-id <n2pac2200131004080738n5681f732i5c630f82d9905561@mail.gmail.com>
In-reply-to <4BBDD530.7090100@v.loewis.de>
Content
When I run that alone I get the same effect, maybe there is something
else contributing to the previous result I saw.

focus_force did solve when testing it alone, and I think it is ok to
use focus_force when testing at least.
Here is the sample I tried:

import ttk
import Tkinter as tk

nb = ttk.Notebook()
nb.add(tk.Label(text='hi'), text='a')
nb.add(tk.Label(text='there'), text='b')

nb.pack()
nb.wait_visibility()

nb.focus_force()
print nb.select()
nb.event_generate('<Key-Right>')
print nb.select()
History
Date User Action Args
2010-04-08 14:38:25gpolosetrecipients: + gpolo, loewis, srid
2010-04-08 14:38:24gpololinkissue8204 messages
2010-04-08 14:38:23gpolocreate