Re: gtk_databox_ruler



Hm...I tried making a little program and I didn't have any problems with this. I could change both foreground and background colors just fine. Double check your code, but it should be possible to change the background color with something like

gtk_widget_modify_bg(ruler, GTK_STATE_NORMAL, &color);

Michael Steinbauer wrote:
Now, it's working. But with this way, just the foreground color could be change. The gtk_widget_modify_bg is not working. Is there any special, like "label" where you just can change the fg color?




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