Gio.DBusInterfaceGetPropertyFunc

function onDBusInterfaceGetPropertyFunc(connection: Gio.DBusConnection, sender: String, object_path: String, interface_name: String, property_name: String, error: GLib.Error): GLib.Variant {
}
  

The type of the @get_property function in Gio.DBusInterfaceVTable.

Since 2.26

connection

A Gio.DBusConnection.

sender

The unique bus name of the remote caller.

object_path

The object path that the method was invoked on.

interface_name

The D-Bus interface name for the property.

property_name

The name of the property to get the value of.

error

Return location for error.

Returns

A GLib.Variant with the value for property_name or null if error is set. If the returned GLib.Variant is floating, it is consumed - otherwise its reference count is decreased by one.