[issue4343] New function in Tkinter.py: setup_master

2010-11-27 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> gpolo keywords: +needs review stage: -> commit review type: -> feature request versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker ___

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
New submission from Guilherme Polo <[EMAIL PROTECTED]>: 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 some

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12041/applying_setup_master.diff ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file12040/setup_master.diff ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue4343] New function in Tkinter.py: setup_master

2008-11-18 Thread Guilherme Polo
Changes by Guilherme Polo <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file12042/setup_master.diff ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue4343] New function in Tkinter.py: setup_master

2013-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am still confused about the master/parent business and why required args are documented as optional. (Besides #18131, I also discovered that messageboxes usually, but not always, require parent=something passed, to be collected into **options. I need to read

[issue4343] New function in Tkinter.py: setup_master

2013-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: After searching through tkinter.py for '_default_root', the patch looks better. The point I missed before is that Tk().__init__(self,...) normally calls _loadtk(self) which installs self as _default_tk if it was None before. So the new function will return the

[issue4343] New function in Tkinter.py: setup_master

2009-02-02 Thread Guilherme Polo
Guilherme Polo added the comment: Any chance I can get this in ? I'm using something very similar to test the ttk wrapper and will also be using in other tests, extensions would also benefit from it, and old code doesn't get affected to it. -- versions: +Python 3.1 -Python 3.0