Xfce Foundation Classes
Main Page  | IndexNamespace 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>



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