Re: AnyGUI - problem with wx

Magnus Lie Hetland <[email protected]> Mon, 17 Feb 2003 03:20:31 +0100
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
David McNab <[email protected]>:
>
> Hi,
> 
> I've just come across anygui.
> 
> Thank goodness - I've been looking around for a gui api for Python that
> doesn't drag the programmer through endless red tape. For instance, wx
> is hell in that regard.

:)

If you like Anygui and you know wx (or any other package) you're very
welcome to contribute -- we need all the help we can get.

> Noticing that anygui seems to work well on windows, also with tk and gtk
> on Linux.

Yup. But the current functionality is still a bit limited. With
release 0.2 we hope to rectify that, but it seems that there is quite
a "bump" to get over to actually finish the first pre-release for 0.2
(0.2a0). I believe wxgui passes all the tests (although they aren't
exactly comprehensive) -- but there are still some bugs here and there
in the various back-ends.

> But with the wx backend, the field tests fail - I can't edit the
> editable field.

That's odd. Which version? (And -- the field that says "Edit me" is
not editable, if that's the one you mean :)

> Also, on line 315 of wxgui.py (method _wx_size_handler), there's a bug.
> The line:
>   w, h = evt.GetSize()
> needs to be:
>   w, h = evt.GetSize().asTuple()

Right -- I responded to that in a separate email. As long as GetSize()
returns something that is indexable and has length 2, this shouldn't
be a problem... I haven't seen it fail anywhere -- am I missing
something?

-- 
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