glib-dbus g_signal_emit
g_signal_emit ()
void g_signal_emit (gpointer instance,
guint signal_id,
GQuark detail,
...);
Emits a signal.
Note that g_signal_emit() resets the return value to the default if no handlers are connected, in contrast to g_signal_emitv().
|
|
the instance the signal is being emitted on. |
|
|
the signal id |
|
|
the detail |
|
|
parameters to be passed to the signal, followed by a location for the return value. If the return type of the signal is G_TYPE_NONE, the return value location can be omitted. |
http://developer.gnome.org/gobject/stable/gobject-Closures.html
http://developer.gnome.org/gobject/stable/gobject-Signals.html#g-signal-emit
#include <glib-object.h>
void g_cclosure_marshal_VOID__STRING (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
g_cclosure_marshal_VOID__STRING ()
void g_cclosure_marshal_VOID__STRING (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
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 |

浙公网安备 33010602011771号