wxPython woes

David Fraser davidf at sjsoft.com
Tue Jun 29 05:35:35 EDT 2004


Reinhold Birkenfeld wrote:
> David Fraser wrote:
> 
>>Sridhar R wrote:
>>
>>>km <km at mrna.tn.nic.in> wrote in message news:<mailman.221.1088421476.27577.python-list at python.org>...
>>>
>>>
>>>>Hi all,
>>>>
>>>>I feel its a real pain to install wxPython from sources it goes back to install gtk+ etc . may be thats why its not yet become defacto GUI standard for python.
>>>>but i'd like to know if anyone has made it easy with an installer for wxPython on linux (Debian woody)? 
>>>
>>>
>>>Well, if your app. is target mainly to the UNIX platform, then you may
>>>want to try PyGTK - http://www.pygtk.org (basically wxPython is just
>>>another layer over GTK).  GTK port is available for win and mac also
>>>(look at gimp for eg.) - also see http://gtk-wimp.sf.net.
>>>
>>>still, wxPython is better for apps to be run on win,mac and unix, but
>>>gtk+ is catching very close.
>>
>>The important difference is that wxWindows and wxPython are designed to 
>>use real native widgets as much as possible, whereas gtk-wimp is 
>>basically trying to use theming to make GTK widgets look like Windows 
>>widgets.
> 
> 
> The difference is the number of layers on the different platforms:
> 
> Under Un*x:
>   wxPython --> wxWidgets --> GTK --> Xlib
>    -- or --
>   PyGTK --> GTK --> Xlib
>    -- or --
>   PyQt --> Qt --> Xlib
> 
> Under Windows:
>   wxPython --> wxWidgets --> Native Windows Controls
>    -- or --
>   PyGTK --> GTK --> Wimp --> Native Windows Controls
> 
> Reinhold
> 

This isn't really what it says on the gtk-wimp page. Is it true?
#
# When running on XP, the Windows theming API is used so that GTK 
widgets look like native widgets.
That's a different story to them actually being native widgets.

David



More information about the Python-list mailing list