6.8 GDBusInterfaceGetPropertyFunc

Callback: GDBusInterfaceGetPropertyFunc

A procedure given for it is called as (procedure connection sender object-path interface-name property-name error) ⇒ %return.

The type of the get-property function in GDBusInterfaceVTable.

connection

Passed: a <GDBusConnection>.

A <GDBusConnection>.

sender

Passed: a string, or #f.

The unique bus name of the remote caller or #f if not specified by the caller, e.g. on peer-to-peer connections.

object-path

Passed: a string.

The object path that the method was invoked on.

interface-name

Passed: a string.

The D-Bus interface name for the property.

property-name

Passed: a string.

The name of the property to get the value of.

error

Passed: a <GError>.

Return location for error.

%return

Returned: a <GVariant>.

A <GVariant> with the value for property-name or #f if error is set. If the returned <GVariant> is floating, it is consumed - otherwise its reference count is decreased by one.

user-data

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

The user-data gpointer passed to dbus-connection:register-object.