Re: explicit signal connection vs. overriding function





2010/5/10 José Alburquerque <jaalburquerque cox net>

One difference from connecting versus deriving is that with connecting,
it is possible to use connect_notify() instead of connect() which allows
controlling whether the handler will be called before or after the
default signal handler:

http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html#a1dd40d7c3475124bb78053805fbde3f8


connect() takes an extra default boolean argument that allows control of this too. it defaults to "true" which means "call after the default handler, if the default handler didn't stop the signal emission". a critical tool for some purposes.

--p



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