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
Date 2008-11-18.12:39:15
SpamBayes Score 1.4237101e-07
Marked as misclassified No
Message-id <1227011959.0.0.968897886388.issue4343@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

I've added a new function called setup_master. 

This function is responsible for returning an usable master to the
caller, or fail and say so. The function is useful for any wrapper
basically, since all them has to set up a master sometime (or maybe
always require a master, but that is not very nice) and will usually do
it half wrong. The half wrong is about relying on _default_root being
available in Tkinter, which is not the case if support for default root
has been disabled.

There are two patches, the first adds the function, the second applies
it self where necessary in Tkinter. The later also adds some new
behaviour in Tkinter, previously Variable class and subclasses wouldn't
work properly without prior creation of a master (there are similar
problems in other parts too).
History
Date User Action Args
2008-11-18 12:39:19gpolosetrecipients: + gpolo
2008-11-18 12:39:19gpolosetmessageid: <1227011959.0.0.968897886388.issue4343@psf.upfronthosting.co.za>
2008-11-18 12:39:17gpololinkissue4343 messages
2008-11-18 12:39:16gpolocreate