| Seed Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <seed/seed.h> void seed_signal_connect (SeedContext ctx,GObject *object,const gchar *signal,const gchar *script); void seed_signal_connect_value (SeedContext ctx,GObject *object,const gchar *signal,SeedValue function,SeedValue user_data);
void seed_signal_connect (SeedContext ctx,GObject *object,const gchar *signal,const gchar *script);
Evaluates script, which should return a function, then connects the returned
function to the signal specified by signal on object. user_data
is passed as the user_data argument to the callback function.
|
A valid SeedContext |
|
A GObject, to connect the signal on. |
|
A signal specification. |
|
The script to connect to the signal. Should return a function. |
void seed_signal_connect_value (SeedContext ctx,GObject *object,const gchar *signal,SeedValue function,SeedValue user_data);