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 jmccabe
Recipients christian.heimes, epaine, jmccabe, serhiy.storchaka, terry.reedy
Date 2021-01-08.17:41:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@epaine Thank you for your comments. Although the order of events in the example you quoted isn't the same as in the application I'm using (tk.messagebox.askquestion() is called a long time before the Enter widget is created in the application, not the other way round), what you've suggested, and a bit of extra thought, has led to a solution for me. I wrapped the self.createWidgets call in self.after_idle() (so self.after_idle(self.createWidgets)) and that appears to do the job.

Many thanks; it's appreciated.
Date User Action Args
2021-01-08 17:41:15jmccabesetrecipients: + jmccabe, terry.reedy, christian.heimes, serhiy.storchaka, epaine
2021-01-08 17:41:15jmccabesetmessageid: <>
2021-01-08 17:41:15jmccabelinkissue42867 messages
2021-01-08 17:41:15jmccabecreate