Function

ClutterScriptConnectFunc

Declaration

void
(* ClutterScriptConnectFunc) (
  ClutterScript* script,
  GObject* object,
  const gchar* signal_name,
  const gchar* handler_name,
  GObject* connect_object,
  GConnectFlags flags,
  gpointer user_data
)

Description [src]

This is the signature of a function used to connect signals. It is used by the clutter_script_connect_signals_full() function. It is mainly intended for interpreted language bindings, but could be useful where the programmer wants more control over the signal connection process.

Available since:0.6

Parameters

script ClutterScript
 

A ClutterScript.

 The data is owned by the caller of the function.
object GObject
 

The object to connect.

 The data is owned by the caller of the function.
signal_name const gchar*
 

The name of the signal.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
handler_name const gchar*
 

The name of the signal handler.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
connect_object GObject
 

The object to connect the signal to, or NULL.

 The data is owned by the caller of the function.
flags GConnectFlags
 

Signal connection flags.

user_data gpointer
 

User data to pass to the signal handler.

 The argument can be NULL.
 The data is owned by the caller of the function.