GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::G::Signal6< R, P1, P2, P3, P4, P5, P6 > Class Template Reference

A template for a signal passing six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R. More...

#include <gfc/glib/signals.hh>

Inheritance diagram for GFC::G::Signal6< R, P1, P2, P3, P4, P5, P6 >:

GFC::G::SignalBase List of all members.

Public Types

Public Member Functions


Detailed Description

template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
class GFC::G::Signal6< R, P1, P2, P3, P4, P5, P6 >

A template for a signal passing six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R.


Constructor & Destructor Documentation

template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
GFC::G::Signal6< R, P1, P2, P3, P4, P5, P6 >::Signal6 const char *  name,
GCallback  callback
[inline]
 

Constructs a new signal.

Parameters:
name The GTK+ name for the signal.
callback The callback function to translate GObject signal emissions into sigc::slot calls.


Member Function Documentation

template<typename R, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
sigc::connection GFC::G::Signal6< R, P1, P2, P3, P4, P5, P6 >::connect TypeInstance instance,
const SlotType slot,
const char *  detail = 0,
bool  after = false
const [inline]
 

Connect a slot to the signal.

Parameters:
instance The object instance containing the signal.
slot A slot of type sigc::slot<R, P1, P2, P3, P4, P5, P6>.
detail The detail string to append to the signal name, or null.
after Set true to call the user-defined slot after the signal, or false to let the signal's default behavior preside.
Returns:
A sigc::connection object.

The connection object can be used to control the signal connection, either by calling block(), t The connection object can be used to control the signal connection, either by calling block(), t The connection object can be used to control the signal connection, either by calling block(), t The connection object can be used to control the signal connection, either by calling block(), t The connection object can be used to control the signal connection, either by calling block(), t The connection object can be used to control the signal connection, either by calling block(), t The connection object can be used to control the signal connection, either by calling block(), t The connection object