RE: signal



ok, i did:

save_exclude_cbt = gtk_check_button_new_with_label (_("Excluir Lista"));

gtk_signal_connect (GTK_OBJECT (save_exclude_cbt), "toggled",
                      GTK_SIGNAL_FUNC (on_save_exclude_cbt_toggled),
                      boot_exclude_vbox);
this, return handler=271

when i call:
gtk_signal_handler_block(GTK_OBJECT(togglebutton),
gtk_signal_lookup("toggled",GTK_TYPE_CHECK_BUTTON));
 
i receive the below message:

gtk_signal_handler_block(): could not find handler (98)

Is that the way i have to use the function???

> -----Mensaje original-----
> De: Olexiy Avramchenko [mailto:ath beast stu cn ua]
> Enviado el: lunes 9 de septiembre de 2002 11:34
> Para: Seisdedos Nuñez, Monserrat
> CC: gtk (E-mail)
> Asunto: Re: signal
> 
> 
> Seisdedos Nuñez, Monserrat wrote:
> 
> >Hello everybody:
> >
> >i have a toggle_button callback connected to the toggled event,  in a
> >particular moment i don't want it to be call, how can i do it?????
> >
> Hello,
> g_signal_handler_block() - will block your handler until 
> g_signal_handler_unblock().
> g_signal_handler_disconnect() - will completely remove your handler.
> 
> Olexiy
> 



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