Logo Search packages:      
Sourcecode: ardour version File versions  Download package

template<class R, class P1, class P2, class P3, class P4>
sigc::connection Glib::SignalProxy4< R, P1, P2, P3, P4 >::connect_notify ( const VoidSlotType slot,
bool  after = false 
) [inline]

Connects a signal to a signal handler without a return value. By default, the signal handler will be called before the default signal handler, in which case any return value would be replaced anyway by that of the later signal handler.

For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) );

slot The signal handler, which should have a void return type, usually created with sigc::mem_fun(), or sigc::ptr_fun().
after Whether this signal handler should be called before or after the default signal handler.

Definition at line 309 of file signalproxy.h.

References Glib::SignalProxyNormal::connect_notify_().

    { return sigc::connection(connect_notify_(slot, after)); }

Generated by  Doxygen 1.6.0   Back to index