Re: Fix for broken anygui

Magnus Lie Hetland <[email protected]> Mon, 17 Feb 2003 03:13:38 +0100
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
David McNab <[email protected]>:
>
> Hi Magnus,
> 
> Just downloaded Anygui 0.1.1
> 
> Thanks for creating such a simple front-end for python gui programming.
> 
> With so many gui apis, it feels like programmers get off on dragging the
> client programmer through as much red tape as possible - your api
> certainly shows promise as an escape.

I'm glad you like it. It's nowhere near where I would like for it to
end up (i.e. it's all pretty "young" still) and the activity has been
a bit low lately. Hopefully that will pick up when I finish my Ph.D.

> Just one thing:
> 
> wxgui.py, line 318.
> Change:
>   w, h = evt.GetSize()
> to:
>   w, h = evt.GetSize().asTuple()

Are you using Anygui 0.1.1? (Line number doesn't fit current CVS
version, it seems.)

I suppose this asTuple should be used in all places where GetSize() is
used? Does that hold for GetPosition() too?

Which test does this break, btw? I can't recall having any problems
with it...

> Then the test progs will work as expected.
> 
> Cheers
> David

-- 
Magnus Lie Hetland               "Nothing shocks me. I'm a scientist." 
http://hetland.org                                   -- Indiana Jones


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf