Function
GioDBusSignalCallback
Declaration
void
(* GDBusSignalCallback) (
GDBusConnection* connection,
const gchar* sender_name,
const gchar* object_path,
const gchar* interface_name,
const gchar* signal_name,
GVariant* parameters,
gpointer user_data
)
Description
Signature for callback function used in g_dbus_connection_signal_subscribe().
Available since: | 2.26 |
Parameters
connection |
GDBusConnection |
A |
|
The data is owned by the caller of the function. | |
sender_name |
const gchar* |
The unique bus name of the sender of the signal,
or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
object_path |
const gchar* |
The object path that the signal was emitted on. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
interface_name |
const gchar* |
The name of the interface. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
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. | |
parameters |
GVariant |
A |
|
The data is owned by the caller of the function. | |
user_data |
gpointer |
User data passed when subscribing to the signal. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |