Xfce Foundation Classes
Main Page | Index | Namespace List | Alphabetical List | Class List | File List

# signals.hh File Reference

C++ signal interface for GTK+ signals. More...

`#include <sigc++/sigc++.h>`
`#include <glib-object.h>`

## Namespaces

- namespace Xfc
- namespace Xfc::G

## Classes

- class Xfc::G::SignalBase
    Base class for the GTK+ C++ signal interface. More...
- class Xfc::G::SignalProxy< ObjectType, SignalType >
    A proxy object for manipulating a protected signal (connection, mostly). More...
- class Xfc::G::Signal0< R >
    A template for a signal passing no arguments and returning a value of type R. More...
- class Xfc::G::Signal1< R, P1 >
    A template for a signal passing one argument of type P1 and returning a value of type R. More...
- class Xfc::G::Signal2< R, P1, P2 >
    A template for a signal passing two arguments of type P1 and P2, and returning a value of type R. More...
- class Xfc::G::Signal3< R, P1, P2, P3 >
    A template for a signal passing three arguments of type P1, P2 and P3, and returning a value of type R. More...
- class Xfc::G::Signal4< R, P1, P2, P3, P4 >
    A template for a signal passing four arguments of type P1, P2, P3 and P4, and returning a value of type R. More...
- class Xfc::G::Signal5< R, P1, P2, P3, P4, P5 >
    A template for a signal passing five arguments of type P1, P2, P3, P4 and P5, and returning a value of type R. More...
- class Xfc::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. More...
- class Xfc::G::Signal7< R, P1, P2, P3, P4, P5, P6, P7 >
    A template for a signal passing seven arguments of type P1, P2, P3, P4, P5, P6 and P7, and returning a value of type R. More...
- class Xfc::G::Signal< R, P1, P2, P3, P4, P5, P6, P7 >
    A convenience template wrapper for the numbered Signal#<> templates. More...

## Detailed Description

C++ signal interface for GTK+ signals.

Provides a set of signal class templates that wrap the GTK+ signal system. Each class derived from G::Object declares a C++ signal for each of the GTK+ signals it emits. These signals are protected, are declared static, and require an object pointer; for example the clicked_signal in the Gtk::Button class. A public accessor method is declared for each protected signal; for example signal_clicked() for the clicked_signal. These accessor methods pass the object this pointer to the protected signal for you. The signal classes are named Signal0 to Signal7, where 0 to 7 specifies the number of arguments passed to a connected slot. (see sigc++/slot.h).
Xfce Foundation Classes

Copyright © 2004-2005 The XFC Development Team | XFC 4.3