[ python-Bugs-1514703 ] setup in Pen.__init__()

SourceForge.net noreply at sourceforge.net
Mon Jul 3 11:44:44 CEST 2006


Bugs item #1514703, was opened at 2006-06-29 23:46
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1514703&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: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 8
Submitted By: Lingl (gregorlingl)
Assigned to: Martin v. Löwis (loewis)
Summary: setup in Pen.__init__()

Initial Comment:
Each time a Pen is constructed, the graphics
window is resized and recenter (if position or
size was changed before by the user).

I think a call of a window-oriented function
doesn't belong in the Pen-cunstructor.

Must somehow be called separately.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2006-07-03 11:44

Message:
Logged In: YES 
user_id=21627

Thanks for the report. I fixed in r47208 by only calling
setup when _canvas gets initialized.

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

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


More information about the Python-bugs-list mailing list