[maemo-developers] simple gtk themed button example?
From: Ross Burton ross at burtonini.comDate: Fri Jan 25 17:08:56 EET 2008
- Previous message: simple gtk themed button example?
- Next message: Oggs, meta info, and Metalayer Crawler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2008-01-25 at 09:51 -0500, Zac Filan wrote: > Can someone point me to a C code example of a gtk button that responds > to system theme changes? > > I have a N810, when I change the system theme the buttons on the > internet radio applet (for example) change to suite the theme. I would > like to know how to write a Gtk application (not an applet ) where the > buttons in my application also change with the theme. > > e.g. something like step 5 here: > http://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html#gui > but that is theme aware. That happens automatically, you only need to care about theme changes if you are writing custom widgets. In that case, you want to connect to the style-set signal. Ross -- Ross Burton mail: ross at burtonini.com jabber: ross at burtonini.com www: http://www.burtonini.com./ PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
- Previous message: simple gtk themed button example?
- Next message: Oggs, meta info, and Metalayer Crawler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]