Reply
Thread Tools
greatgazoo's Avatar
Posts: 24 | Thanked: 3 times | Joined on Feb 2007 @ Brooklyn, NY
#1
This weekend it took a swipe at creating a deb for wxWidgets to be followed by wxPython. I ran into some issues getting a package made ,although compiling directly in the SDK worked fine (no install yet). And then it has to be hildonized.

My question is, is wxWidgets and wxPython to heavy a library for the device to even continue? Is it better to just use the built-in PyGTK?
I've seen others try and on the 770 and not really get anywhere, but I figure that now that GTK+ is up to 2.10 this may be the time.

I'm no whiz at creating deb packages, but you have to start somewhere.

Comments?
 
zeez's Avatar
Posts: 341 | Thanked: 68 times | Joined on Aug 2007
#2
I think there was a post from someone who was looking exactly for that....
 

The Following User Says Thank You to zeez For This Useful Post:
Posts: 468 | Thanked: 610 times | Joined on Jun 2006
#3
I think that the "hildonizing" of the widgets will be a lot of work.
If it is worth it, I don't know. I think WxPython is easier to program than PyGTK, and I believe it has more features/widgets than GTK.

I think the reason it isn't included by default is space. GTK is always included when you use Gnome, wxpython is optional. I doubt it will be a lot heavier to run, but I understand Nokia for not including it: it adds a lot more MB to the firmware.

Any GUI toolkit will need to be optimized for small touch screen use (part of the "hildonizing" is the choice Nokia made in optimizing the GUI). And that will be a lot of work, because of all the features of wxPython.
 

The Following User Says Thank You to Bernard For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#4
Maybe I am biased (GTK guy since 2000), but I was never really fond of wxPython.

wx aimed to be a common API for Unix/Linux and Windows, so it's basically a wrapper around GTK and the Windows MFC. If you have to write applications that run both on Windows and Linux, wx might be worth looking at (although PyGTK runs fine on Windows, too, nowadays). But when only developing for Maemo, you should consider dropping the additional layer of wrapping and directly use GTK/PyGTK.
The biggest problems with wx on Linux arose whenever a new major release of GTK was published and wx still requiring the old release due to incompatibilities.

Just my 2 Euro-Cents...
 

The Following User Says Thank You to pycage For This Useful Post:
greatgazoo's Avatar
Posts: 24 | Thanked: 3 times | Joined on Feb 2007 @ Brooklyn, NY
#5
Thanks for all your responses. Maybe when I get more comfortable I'll give it a shot. I guess I'll buckle down and learn pygtk even though, for some reason, it makes my eyes glaze over.

Thanks, again.
 

The Following User Says Thank You to greatgazoo For This Useful Post:
Posts: 56 | Thanked: 8 times | Joined on Nov 2007
#6
Just building wxWidgets/wxPython will make your eyes glaze over.
 
Posts: 111 | Thanked: 31 times | Joined on Nov 2007
#7
 

The Following User Says Thank You to cripes For This Useful Post:
greatgazoo's Avatar
Posts: 24 | Thanked: 3 times | Joined on Feb 2007 @ Brooklyn, NY
#8
Originally Posted by wetcoast View Post
Just building wxWidgets/wxPython will make your eyes glaze over.
That may be the case, but they only have to glaze over once.
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:46.