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

Re: what dos gtk_signal_lookup exactly, how can I wait for onesign?



Le ven 26/03/2004 à 22:24, Murilo Tuvani a écrit :
> does
> gint gtk_signal_lookup(const gchar *name, GtkType object_type);
> wait for that event to happen or just do anything else?
> Pleas answer me I realy need to wait for one, and just that sign to
> happen, and than continue my aplication..
>                         Thanks a lot  Murilo
> 

nope, it just gives you an int identifier for such signal.

to do what you want, just connect a handler  (with g_signal_connect())
and wait for it to be called in a polling loop with
gtk_main_iteration().

This could work.

-- 
>>>>>  el greco  <<<<<<
--------------------------------------------
Stéphane K. -----> http://brain.shacknet.nu 
--------------------------------------------

Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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