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

SourceForge.net noreply at sourceforge.net
Sat Jun 17 11:30:13 CEST 2006


Patches item #1500773, was opened at 2006-06-05 08:35
Message generated for change (Comment added) made by loewis
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).

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

>Comment By: Martin v. Löwis (loewis)
Date: 2006-06-17 11:30

Message:
Logged In: YES 
user_id=21627

This is an incompatible change. I also don't see the point;

top.wm_attributes('alpha',.8)

should work just fine, no?

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

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