6.13 GDBusSignalCallback

Callback: GDBusSignalCallback

A procedure given for it is called as (procedure connection sender-name object-path interface-name signal-name parameters).

Signature for callback function used in dbus-connection:signal-subscribe.

connection

Passed: a <GDBusConnection>.

A <GDBusConnection>.

sender-name

Passed: a string, or #f.

The unique bus name of the sender of the signal, or #f on a peer-to-peer D-Bus connection.

object-path

Passed: a string.

The object path that the signal was emitted on.

interface-name

Passed: a string.

The name of the interface.

signal-name

Passed: a string.

The name of the signal.

parameters

Passed: a <GVariant>.

A <GVariant> tuple with parameters for the signal.

user-data

Not passed: it is the user data that guile-gi supplied.

User data passed when subscribing to the signal.