[maemo-developers] simple gtk themed button example?

From: Zac Filan zac_filan at fastmail.fm
Date: Fri Jan 25 17:28:31 EET 2008
Chris Lord wrote:
> On Fri, 2008-01-25 at 09:51 -0500, Zac Filan wrote:
>   
>> Hello,
>>
>> Can someone point me to a C code example of a gtk button that responds
>> to system theme changes?
>>     
>
> All GTK applications are theme-change-aware, unless you're not running
> them correctly. If you're in scratchbox and your application isn't
> responding to theme changes, perhaps you aren't using run-standalone?
>
> --Chris
>
>
>   
CC'ing Ross since he had similar advice.

Thanks for the replies. After looking carefully, I see that the button
does respond to the theme change. (It was hard to notice since I packed
labels in the buttons, and only the border of the button (a few pixels
wide) changed color. Duh.

I thought the internet radio appallet was using gtk buttons, and I
wanted to get the same groovy button themes on my app. Upon further
review I think the internet radio applet uses custom widgets.

Looks like I need to do a bit more coding to get the same effect.

Thanks!
-Zac


More information about the maemo-developers mailing list