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 Longorh
Recipients Longorh
Date 2008-04-15.15:44:09
SpamBayes Score 0.040450778
Marked as misclassified No
Message-id <1208274253.49.0.82594797708.issue2638@psf.upfronthosting.co.za>
In-reply-to
Content
When a Tkinter window comes up that uses tkSimpleDialog to construct a 
dialog box, the window first flashes on the screen as an unpopulated 
top-level window, before being drawn in its completed state.

This problem is easily corrected by adding two lines of code to the 
constructor for class Dialog in tkSimpleDialog.py.  The first line of 
the constructor reads Toplevel.__init__( self, parent ).  After this 
line insert self.overrideredirect( True ).  The second line from the 
last in this constructor reads self.initial_focus.focus_set(), just 
before this line insert self.overrideredirect( False).  That's it.  
I've attached the revised version of this file.
History
Date User Action Args
2008-04-15 15:44:13Longorhsetspambayes_score: 0.0404508 -> 0.040450778
recipients: + Longorh
2008-04-15 15:44:13Longorhsetspambayes_score: 0.0404508 -> 0.0404508
messageid: <1208274253.49.0.82594797708.issue2638@psf.upfronthosting.co.za>
2008-04-15 15:44:12Longorhlinkissue2638 messages
2008-04-15 15:44:12Longorhcreate