GFC Logo GFC Title Logo
Reference Manual
Main Page  |  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>

Go to the source code of this file.

Namespaces

Classes


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 sig_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).


Generated on Tue Aug 24 00:04:56 2004 for GFC-Core by doxygen 1.3.8