Signals

Signals

Functions

Includes

#include <seed/seed.h>

Description

Functions

seed_signal_connect ()

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.

Parameters

ctx

A valid SeedContext

 

object

A GObject, to connect the signal on.

 

signal

A signal specification.

 

script

The script to connect to the signal. Should return a function.

 

seed_signal_connect_value ()

void
seed_signal_connect_value (SeedContext ctx,
                           GObject *object,
                           const gchar *signal,
                           SeedValue function,
                           SeedValue user_data);