![]() |
![]() |
Inheritance diagram for Glib::SignalProxy1< R, P1 >:
Public Types | |
typedef sigc::slot<R, P1> | SlotType |
typedef sigc::slot<void, P1> | VoidSlotType |
Public Member Functions | |
SignalProxy1 (ObjectBase* obj, const SignalProxyInfo* info) | |
sigc::connection | connect (const SlotType& slot, bool after=true) |
Connects a signal to a signal handler. | |
sigc::connection | connect_notify (const VoidSlotType& slot, bool after=false) |
Connects a signal to a signal handler without a return value. |
Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers.
|
|
|
|
|
|
|
Connects a signal to a signal handler. For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) );
|
|
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) );
|