Re: Changing background color of text in statusbar



Viraj Chatterjee wrote:
http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html

GtkWidget* eventbox = gtk_event_box_new();
GtkWidget *label = gtk_label_new(".... some text"):

gtk_container_add(GTK_CONTAINER(eventbox), label);

...

For adding this eventbox in to your status bar might require some additional work..., and I'll have to figure that out..


I tried to put the entire statusbar inside an eventbox and it seems to solve the problem.

Thanks!

Best regards
Egon Andersen



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