Re: GTK+ 2.0, one button affecting another

2005-07-26 Thread Arx Henrique
try gtk_toogle_button_set_active(GTK_TOOGLE_BUTTON(widget), FALSE) instead G_OBJECT or even gtk_toogle_button_set_active((GtkToogleButton *)widget, FALSE); On 7/26/05, flood <[EMAIL PROTECTED]> wrote: > Hello, In my application I have two buttons, normal and toggle, what I want > is when I press t

GTK+ 2.0, one button affecting another

2005-07-26 Thread flood
Hello, In my application I have two buttons, normal and toggle, what I want is when I press the normal button the toggle button would be released. Here is the signal and callback function g_signal_connect_swapped(GTK_OBJECT(button), "clicked", G_CALLBACK(button_callback), G_OBJECT(toggle)); vo