[maemo-developers] [maemo-developers] home applet styling

From: Jussi Kukkonen jhkukkon at cc.hut.fi
Date: Thu Mar 2 12:30:53 EET 2006
Hello,
  I'm playing with home applets and trying to get the same widget 
styling that the Nokia-provided applets use, with no luck. Looking at 
the applets mentioned in the Wiki, it seems I'm not the only one (or 
maybe other are just going for the simplistic style, dunno).

  Gtkrc says that I need to have a widget 
"hildon-home-applet-title-frame" inside widget "hildon-home-applet", or 
at least that's how I read it**:
---
widget "*.hildon-home-applet" style "osso-home-applet"
widget "*.hildon-home-applet.*hildon-home-applet-title-frame" \
   style "osso-home-applet-title-frame"
---

  Now, I am not a serious GTK hacker by any standard, but I've got the 
impression that simply setting the name property of a GtkWidget should 
apply the style... I'm just not succeeding with that. Should I be using 
some specific widgets (I've tried combinations of boxes and frames)?

  Could someone kindly either:
  a) Show me where I'm wrong in the above
  b) post the few lines of code that create the needed widgets in
     hildon_home_applet_lib_initialize?

  Thanks for any input,

-- 
Jussi Kukkonen
<jhkukkon at cc.hut.fi>


**) thanks to whoever helped me with this in #maemo

More information about the maemo-developers mailing list