[Patches] [ python-Patches-1500773 ] wm_attributes doesn't take keyword arguments

SourceForge.net noreply at sourceforge.net
Mon Jun 5 08:35:27 CEST 2006


Patches item #1500773, was opened at 2006-06-04 23:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1500773&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tkinter
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Couch (gregcouch)
Assigned to: Martin v. Löwis (loewis)
Summary: wm_attributes doesn't take keyword arguments

Initial Comment:
The Tk wm attributes command takes option arguments
(from the Tk wm manual page):

   wm attributes window ?option value option value...?

And option arguments are normally given with keyword
arguments in Tkinter (most if not all widget creation
functions and widget commands).  The attached patch
changes the wm_attributes method to take keyword
arguments, so top.wm_attributes(alpha=.8) will work as
expected (on Windows XP and Mac OS X).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1500773&group_id=5470


More information about the Patches mailing list