mousetrap v0.2.0
Loading...
Searching...
No Matches
mousetrap::has_signal_unmap< T > Class Template Reference

Widget and all of its parents become hidden. More...

#include <signal_component.hpp>

Public Member Functions

template<typename Function_t , typename Data_t >
void connect_signal_unmap (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_unmap (Function_t f)
 connect handler, will be invoked when signal is emitted
 
void set_signal_unmap_blocked (bool b)
 
bool get_signal_unmap_blocked () const
 
void emit_signal_unmap ()
 invoke signal handler manually
 
void disconnect_signal_unmap ()
 

Static Public Attributes

static const char * signal_id = "unmap"
 glib ID
 

Protected Member Functions

 has_signal_unmap (T *instance)
 

Detailed Description

template<typename T>
class mousetrap::has_signal_unmap< T >

Widget and all of its parents become hidden.

Template Parameters
Tinstance type

Member Function Documentation

◆ connect_signal_unmap() [1/2]

template<typename T >
template<typename Function_t >
void mousetrap::has_signal_unmap< T >::connect_signal_unmap ( Function_t  f)
inline

connect handler, will be invoked when signal is emitted

Parameters
ffunction with signature (T&) -> void

◆ connect_signal_unmap() [2/2]

template<typename T >
template<typename Function_t , typename Data_t >
void mousetrap::has_signal_unmap< T >::connect_signal_unmap ( Function_t  f,
Data_t  data 
)
inline

connect handler, will be invoked when signal is emitted. Data is passed to the signal handler function

Parameters
ffunction with signature (T&, Data_t) -> void
dataarbitrary data

◆ emit_signal_unmap()

template<typename T >
void mousetrap::has_signal_unmap< T >::emit_signal_unmap ( )
inline

invoke signal handler manually


The documentation for this class was generated from the following file: