Page 1 of 1
ScrollAreaGadget Background Color GTK ??
Posted: Tue Mar 29, 2005 6:10 am
by bender-rulez
Hi, I need to change the background color of a ScrollAreaGadget, can anyone help? I think that this can only be done with gtk-functions?
Posted: Sat Nov 05, 2005 12:27 pm
by bender-rulez
I tested this, but it wont work!
Any hints?
NewColor.GdkColor
NewColor\red = Red(65535) << 8
NewColor\green = Green(0) << 8
NewColor\blue = Blue(0) << 8
gdk_color_parse_ ("red",@NewColor);
gtk_widget_modify_bg_ (GadgetID(99), GTK_STATE_NORMAL, @NewColor)
gtk_widget_modify_bg_ ( GadgetID(99), GTK_STATE_PRELIGHT, @NewColor )
Posted: Sat Nov 05, 2005 12:52 pm
by bender-rulez
ok, I found out, that the Color is changed, but not in the style is used!
how to override standard colors, defined by the gtkrc-2.0 ???