#include <sig_proxies.h>
Public Member Functions | |
ConnectionProxy (Conn *src) | |
void | disconnect () |
Disconnect slot from callback or an event handler. | |
~ConnectionProxy () | |
ConnectionProxy () | |
Protected Attributes | |
ost::Pointer< Conn > | con |
Provides policy for the disconnection of a particular slot and a widget's callback or an event handler.
Use like this
class C : public SigC::Object { public: void fun (long int) { ... } ... C c; ... Sig::ConnectionProxy Cp = button -> signal_activate ().connect (slot (&c, &C::fun)); // c.C::fun called when user ''activates'' button Cp->disconnect (); // c.C::fun wouldn't be called ..
|
|
|
|
|
|
|
Disconnect slot from callback or an event handler.
|
|
|
Documentation for photonmm by Yakov <iakovz@gmail.com>.