logo top
Main Page   Widgets   glibmm Namespaces   Book  

Glib::SignalProxy5< R, P1, P2, P3, P4, P5 > Class Template Reference

Proxy for signals with 5 arguments. More...

Inheritance diagram for Glib::SignalProxy5< R, P1, P2, P3, P4, P5 >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef sigc::slot< R, P1,
P2, P3, P4, P5 > 
SlotType
typedef sigc::slot< void,
P1, P2, P3, P4, P5 > 
VoidSlotType

Public Member Functions

 SignalProxy5 (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.

Detailed Description

template <class R, class P1, class P2, class P3, class P4, class P5>
class Glib::SignalProxy5< R, P1, P2, P3, P4, P5 >

Proxy for signals with 5 arguments.

Use the connect() method, with sigc::mem_fun() or sigc::ptr_fun() to connect signals to signal handlers.


Member Typedef Documentation

template <class R, class P1, class P2, class P3, class P4, class P5>
typedef sigc::slot<R,P1,P2,P3,P4,P5> Glib::SignalProxy5<R, P1, P2, P3, P4, P5>::SlotType
 

template <class R, class P1, class P2, class P3, class P4, class P5>
typedef sigc::slot<void,P1,P2,P3,P4,P5> Glib::SignalProxy5<R, P1, P2, P3, P4, P5>::VoidSlotType
 


Constructor & Destructor Documentation

template <class R, class P1, class P2, class P3, class P4, class P5>
Glib::SignalProxy5<R, P1, P2, P3, P4, P5>::SignalProxy5 ( ObjectBase obj,
const SignalProxyInfo*  info
[inline]
 


Member Function Documentation

template <class R, class P1, class P2, class P3, class P4, class P5>
sigc::connection Glib::SignalProxy5<R, P1, P2, P3, P4, P5>::connect ( const SlotType slot,
bool  after = true
[inline]
 

Connects a signal to a signal handler.

For instance, connect( sigc::mem_fun(*this, &TheClass::on_something) );

Parameters:
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.

Parameters:
template <class R, class P1, class P2, class P3, class P4, class P5>
sigc::connection Glib::SignalProxy5<R, Ptr>
slot The signal handler, which should have a void return type, 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.


The documentation for this class was generated from the following file:
Generated for glibmm 2.4 by Doxygen 1.4.6 © 1997-2001
./usr/share/doc/libglibmm-2.4-dev/reference/html/classGlib_1_1SignalProxy4__inherit__graph.md50000644000000000000000000000004010440116504030732 0ustar rootroote734a9688ea30c4a098a72990f4a6213