How to change button shape?
Till Harbaum / Lists
lists at harbaum.org
Tue Dec 29 21:37:08 EET 2009
Am Dienstag 29 Dezember 2009 schrieb Cornelius Hald:
> The theming is defined here: /usr/share/themes/default/gtk-2.0/gtkrc
> If you look for example for "fremantle-button-group-box" you will find a
> style which defines those toggle buttons which are only rounded at the
> outer left and right button.
> There is the GtkStyle API with which you can apply a defined style to a
> specific widget. It's rather cumbersome, but it might work for you. If
> you're still interested, I can dig up some code where I used this API.
Thanks, but i won't need it if it gets complicated. I was interested in using
this for buttons used as a replacement for gtknotebook tabs in fremantle.
But the current toggle buttons already look quite nice for this purpose, so
there's no need to make things more complex.
More information about the maemo-developers