|
glibmm
2.55.1
|
Proxy for signals with any number of arguments. More...
#include <glibmm/signalproxy.h>

Public Types | |
| using | SlotType = sigc::slot< void(T...)> |
Public Member Functions | |
| SignalProxy (ObjectBase* obj, const SignalProxyInfo* info) | |
| sigc::connection | connect (const SlotType& slot, bool after=true) |
| Connects a signal handler to a signal. More... | |
| sigc::connection | connect (SlotType&& slot, bool after=true) |
| Connects a signal handler to a signal. More... | |
Public Member Functions inherited from Glib::SignalProxyNormal | |
| ~SignalProxyNormal () noexcept | |
| void | emission_stop () |
| Stops the current signal emission (not in libsigc++) More... | |
Public Member Functions inherited from Glib::SignalProxyBase | |
| SignalProxyBase (Glib::ObjectBase* obj) | |
Additional Inherited Members | |
Protected Member Functions inherited from Glib::SignalProxyNormal | |
| SignalProxyNormal (Glib::ObjectBase* obj, const SignalProxyInfo* info) | |
| Creates a proxy for a signal that can be emitted by obj. More... | |
| sigc::slot_base& | connect_impl_ (bool notify, const sigc::slot_base& slot, bool after) |
| Connects a signal handler to a signal. More... | |
| sigc::slot_base& | connect_impl_ (bool notify, sigc::slot_base&& slot, bool after) |
| Connects a signal handler to a signal. More... | |
Protected Attributes inherited from Glib::SignalProxyBase | |
| ObjectBase* | obj_ |
Proxy for signals with any number of arguments.
Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signal handlers to signals.
This is a specialization for signal handlers that return void.
| using Glib::SignalProxy< void(T...)>::SlotType = sigc::slot<void(T...)> |
|
inline |
|
inline |
Connects a signal handler to a signal.
For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) );
By default, the signal handler will be called after the default signal handler. This is usually fine for signal handlers that don't return a value.
| 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. |
|
inline |
Connects a signal handler to a signal.
1.8.9.1