Hello,
I have a problem modifying my gtk widgets. I know that you shouldn't hard-code 
colors, but my boss wants his GUI (Buttons) in different colors. Who am I to 
argue ;)
I already tried this:

GdkColor color;

 gdk_color_parse ("red", &color);

 gtk_widget_modify_fg (widget, GTK_STATE_NORMAL, &color);
 gtk_widget_modify_bg (widget, GTK_STATE_NORMAL, &color);
 gtk_widget_modify_base (widget, GTK_STATE_NORMAL, &color);

gcc doesn' t say anything while compiling, but on the other hand, when running 
the application, it doesn't show a red button either.

Best Regards,

Verena



-- 
Sensationsangebot nur bis 30.11: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to