font color



I've tried using the following to change the color of text on a menu bar but to no avail:

gtk_widget_modify_text(menubar, GTK_STATE_NORMAL, red);

and

gtk_widget_modify_text(GTK_WIDGET(GTK_LABEL(GTK_BIN(menu_bar_widgets)->child)),
                            GTK_STATE_NORMAL, red);

anyone know what the correct way should be or if I'm missing something?

Thanks!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]