what am I doing wrong in Following Code :
GtkWidget *button1;
void click_button1(GtkWidget *widget, gpointer data)
{
printf(I am in click_button\n);// able to print this
GdkColor color;
color.red = 27000;
color.green = 30325;
color.blue = 34181;
Hi,
I've tried your code, it works for me. Did you try moving cursor out
of the button after you click it? If the cursor is still inside, the
button is in hovered state, not STATE_NORMAL.
If it still doesn't work, then what widget theme do you use? Maybe it
interferes with your actions (older