Default widget of a window is activated, see Window::set_default_widget.
More...
#include <signal_component.hpp>
|
template<typename Function_t , typename Data_t > |
void | connect_signal_activate_default_widget (Function_t f, Data_t data) |
| connect handler, will be invoked when signal is emitted. Data is passed to the signal handler function
|
|
template<typename Function_t > |
void | connect_signal_activate_default_widget (Function_t f) |
| connect handler, will be invoked when signal is emitted
|
|
void | set_signal_activate_default_widget_blocked (bool b) |
|
bool | get_signal_activate_default_widget_blocked () const |
|
void | emit_signal_activate_default_widget () |
| invoke signal handler manually
|
|
void | disconnect_signal_activate_default_widget () |
|
|
static const char * | signal_id = "activate-default" |
| glib ID
|
|
|
| has_signal_activate_default_widget (T *instance) |
|
template<typename T>
class mousetrap::has_signal_activate_default_widget< T >
Default widget of a window is activated, see Window::set_default_widget.
- Template Parameters
-
◆ connect_signal_activate_default_widget() [1/2]
template<typename T >
template<typename Function_t >
connect handler, will be invoked when signal is emitted
- Parameters
-
f | function with signature (T&) -> void |
◆ connect_signal_activate_default_widget() [2/2]
template<typename T >
template<typename Function_t , typename Data_t >
connect handler, will be invoked when signal is emitted. Data is passed to the signal handler function
- Parameters
-
f | function with signature (T&, Data_t) -> void |
data | arbitrary data |
◆ emit_signal_activate_default_widget()
invoke signal handler manually
The documentation for this class was generated from the following file: