how linking a radiobutton with a button?



Hi list

I have the following source:

 button = gtk_radio_button_new_with_label (NULL, "USER");
          gtk_signal_connect(GTK_OBJECT(button), "toggled",
                             GTK_SIGNAL_FUNC(op_user), NULL);

........

 button = gtk_button_new_with_label("OK");

when I press the button ok, call the function "op_user"

any idea?

-------------------------------------------------
Obtén tu correo en www.correo.unam.mx
UNAMonos Comunicándonos





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