Re: GtkButton bg color



On 04/29/2012 11:30 AM, Steve wrote:
gtk_widget_modify_bg(button, GTK_STATE_NORMAL,&color);

This is the right call, but I have found that this doesn't work on Windows. Are you running the program in Windows? Coloring works fine for me in Linux.

If you're running Linux, your color variable may not be setup correctly. How are you defining it?



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