Re: signals (and disconnecting them)

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

 



On Tue, 2005-04-05 at 01:04 +0900, Vadim Berezniker wrote:
> Let's say we have the following code:
> 
> some_func();
> g_signal_handlers_disconnect_by_func(obj, func, param);
> 
> 
> If some_func() causes a signal to be emitted on "obj" and then almost
> immediately I disconnect the handler, will my handler receive the
> event before being disconnected or is there a chance it might not.
> (for example if the event is queued).

When g_signal_emit() returns all signal handlers have been
called. There is no acynchronous processing at all.

ciao,
--mitch

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux