Reference Manual

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# signals.h File Reference

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

`#include <inti/slot.h>`
`#include <inti/connection.h>`
`#include <glib-object.h>`

Go to the source code of this file.

## Namespaces

- namespace Inti
- namespace Inti::G

## 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 Signal6, where 0 to 6 specifies the number of arguments passed to a connected slot. (see inti/slot.h).
Main Page - Footer