Proxy for signals with 6 arguments.
More...
#include <glibmm/signalproxy.h>
|
typedef sigc::slot< R, P1, P2, P3, P4, P5, P6 > | SlotType |
|
typedef sigc::slot< void, P1, P2, P3, P4, P5, P6 > | VoidSlotType |
|
template<class R, class P1, class P2, class P3, class P4, class P5, class P6>
class Glib::SignalProxy6< R, P1, P2, P3, P4, P5, P6 >
Proxy for signals with 6 arguments.
Use the connect() or connect_notify() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signal handlers to signals.
template <class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
typedef sigc::slot<R,P1,P2,P3,P4,P5,P6> Glib::SignalProxy6< R, P1, P2, P3, P4, P5, P6 >::SlotType |
template <class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
typedef sigc::slot<void,P1,P2,P3,P4,P5,P6> Glib::SignalProxy6< R, P1, P2, P3, P4, P5, P6 >::VoidSlotType |
template <class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
template <class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
Connects a signal handler to a signal.
For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) );
- Parameters
-
slot | The signal handler, 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. |
template <class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
Connects a signal handler without a return value to a signal.
By default, the signal handler will be called before the default signal handler.
For instance, connect_notify( sigc::mem_fun(*this, &TheClass::on_something) );
If the signal requires signal handlers with a void
return type, the only difference between connect() and connect_notify() is the default value of after.
If the signal requires signal handlers with a return value of type T, connect_notify() binds return T()
to the connected signal handler. For instance, if the return type is bool
, the following two calls are equivalent.
- Parameters
-
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. |