pub type GDBusSignalCallback = Option<unsafe extern "C" fn(connection: *mut GDBusConnection, sender_name: *const gchar, object_path: *const gchar, interface_name: *const gchar, signal_name: *const gchar, parameters: *mut GVariant, user_data: gpointer)>;
Expand description
GDBusSignalCallback: @connection: A #GDBusConnection. @sender_name: (nullable): The unique bus name of the sender of the signal, or %NULL on a peer-to-peer D-Bus connection. @object_path: The object path that the signal was emitted on. @interface_name: The name of the interface. @signal_name: The name of the signal. @parameters: A #GVariant tuple with parameters for the signal. @user_data: User data passed when subscribing to the signal.
Signature for callback function used in g_dbus_connection_signal_subscribe().
Since: 2.26
Aliased Type§
pub enum GDBusSignalCallback {
None,
Some(unsafe extern "C" fn(*mut _GDBusConnection, *const i8, *const i8, *const i8, *const i8, *mut _GVariant, *mut c_void)),
}