mu_mind
2010-01-23, 19:58
I'm making a status menu widget on the N900 using python (as described in the wiki (http://wiki.maemo.org/PyMaemo/HildonDesktop#Example_-_Status_menu_widgets_.28Fremantle_only.29)), and I had some questions. I used a hildon.Button object, but I noticed the "value" text on it was gray and on most of the other widgets the color varied with the theme, like the orange text here:
http://farm5.static.flickr.com/4057/4297767483_754119f9db_m.jpg
I'd like to know:
Is there a different Button class that renders the value (secondary text) in the default theme color?
Is there a straightforward way to change the color on an existing Button object's text?
How do you get the theme color (or whatever it's called) from in python?
http://farm5.static.flickr.com/4057/4297767483_754119f9db_m.jpg
I'd like to know:
Is there a different Button class that renders the value (secondary text) in the default theme color?
Is there a straightforward way to change the color on an existing Button object's text?
How do you get the theme color (or whatever it's called) from in python?