Archive for February 3rd, 2006

wxWidgets and wxPython almost hildonized

I am working in the port of wxWidgets and wxPython to the Maemo platform.

My last try did not manage to get a proper look and feel in the Maemo environment. But this time I copied the files from /usr/share/themes from my Nokia 770 to the scratchbox environment on my computer (just click here if you are wondering what the hell is a scratchbox), and added this to .gtkrc-2.0 to my home directory


include '/usr/share/themes/default/gtk-2.0/gtkrc'

After that, without recompiling the libraries, all the applications got the Hildon look and feel, as the following screenshots evidence:

Minimal sample
The Minimal sample (wxWidgets)

Grid sample
A sample showing the wxGrid widget (wxWidgets)

Grid sample
The menubar is not yet integrated with the Hildon look and feel (wxWidgets)

Grid sample
A sample showing some buttons and a tooltip (wxPython)

Grid sample
The different kind of buttons available in wxWidgets (wxPython)

As the GNU/Linux version of wxWidgets is developed with GTK, it seems that the applications are very well integrated. For example, they are responsing to maximize to full screen events (with the hardware button). There are still some minor issues, as the menu bar, which is a window placed over the main window. Instead, it should use the Hildon functions for menu bars. Also the virtual keyboard annonyingly appears each time you click in the bottom part of the screen. I don’t know yet why.

So I think as soon I have a couple of days, I will manage to port these libraries to Maemo. And so applications will be to able to be developed in C++ and Python for the Nokia 770.

14 comments February 3rd, 2006


What's this?

This is a blog about the new Nokia 770. It will show tricks, hacks, reviews, etc about this impressive gadget. Comments and feedback are welcome.

You can contact me at isra _at_ herraiz.org, or just leaving a comment in any post.

Calendar

February 2006
M T W T F S S
« Jan   Apr »
 12345
6789101112
13141516171819
20212223242526
2728  

Posts by Month

Posts by Category

Valid XHTML
Valid CSS
No-www.org