[maemo-developers] GTK Modifications
From: Verena Mattern Verena31 at gmx.netDate: Fri Nov 28 11:45:31 EET 2008
- Previous message: Gtk/hildon development questions
- Next message: GTK Modifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Gtk/hildon development questions
- Next message: GTK Modifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]