Re: Changing color/style on a scrollbar in a GtkScrolledWindow | solution
| From: | Christian Weiske | Date: | Tue, 07 Sep 2004 14:42:33 +0000 |
| Subject: | Re: Changing color/style on a scrollbar in a GtkScrolledWindow | solution | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5057@lists.php.net to get a copy of this message | ||
Hi
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
I'm having trouble altering the color on a vertical scrollbar in a GtkScrolledWindow.Like it was said in the list, you can only get the gtk?adjustments from the scrolled window. This means that there is no ->style property which could be changed - what we'd need is the GtkScrollbar widget, but they are out of our range. The solution is to use a style file: $style = 'style "red" { bg[NORMAL] = "#ff0000" fg[NORMAL] = "#ff0000"} widget_class "*.GtkScrolledWindow.GtkVScrollbar" style "red"'; gtk::rc_parse_string( $style); Regards/MfG, Christian Weiske -- XMMS is playing now: Nelly Furtado - Saturdays
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc