the callback function
the #GClosure
A #GClosureMarshal function for use with signals with handlers that take two boxed pointers as arguments and return a boolean. If you have such a signal, you will probably also need to use an accumulator, such as g_signal_accumulator_true_handled().
A #GClosure.
A #GValue to store the return value. May be %NULL if the callback of closure doesn't return a value.
The length of the param_values
array.
An array of #GValues holding the arguments on which to invoke the callback of closure.
The invocation hint given as the last argument to g_closure_invoke().
Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
A marshaller for a #GCClosure with a callback of type
gboolean (*callback) (gpointer instance, gint arg1, gpointer user_data)
where the #gint parameter
denotes a flags type.
the #GClosure to which the marshaller belongs
a #GValue which can store the returned #gboolean
2
a #GValue array holding instance and arg1
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A generic marshaller function implemented via libffi.
Normally this function is not passed explicitly to g_signal_new(), but used automatically by GLib when specifying a %NULL marshaller.
A #GClosure.
A #GValue to store the return value. May be %NULL if the callback of closure doesn't return a value.
The length of the param_values
array.
An array of #GValues holding the arguments on which to invoke the callback of closure.
The invocation hint given as the last argument to g_closure_invoke().
Additional data specified when registering the marshaller, see g_closure_set_marshal() and g_closure_set_meta_marshal()
A marshaller for a #GCClosure with a callback of type
gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data)
.
the #GClosure to which the marshaller belongs
a #GValue, which can store the returned string
3
a #GValue array holding instance, arg1 and arg2
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gboolean arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gboolean parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, GBoxed *arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #GBoxed* parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gchar arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gchar parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gdouble arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gdouble parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gint arg1, gpointer user_data)
where the #gint parameter denotes an enumeration type..
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the enumeration parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gint arg1, gpointer user_data)
where the #gint parameter denotes a flags type.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the flags parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gfloat arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gfloat parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gint arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gint parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, glong arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #glong parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, GObject *arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #GObject* parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, GParamSpec *arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #GParamSpec* parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gpointer arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gpointer parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, const gchar *arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gchar* parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, guchar arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #guchar parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, guint arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #guint parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, guint arg1, gpointer arg2, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
3
a #GValue array holding instance, arg1 and arg2
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gulong arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #gulong parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, GVariant *arg1, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
2
a #GValue array holding the instance and the #GVariant* parameter
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A marshaller for a #GCClosure with a callback of type
void (*callback) (gpointer instance, gpointer user_data)
.
the #GClosure to which the marshaller belongs
ignored
1
a #GValue array holding only the instance
the invocation hint given as the last argument to g_closure_invoke()
additional data specified when registering the marshaller
A #GCClosure is a specialization of #GClosure for C function callbacks.