Gio.DBusInterfaceSetPropertyFunc
Description: Reference for Gio.DBusInterfaceSetPropertyFunc

### Function

# GioDBusInterfaceSetPropertyFunc

since: 2.26

#### Declaration

    gboolean
    (* GDBusInterfaceSetPropertyFunc) (
      GDBusConnection* connection,
      const gchar* sender,
      const gchar* object_path,
      const gchar* interface_name,
      const gchar* property_name,
      GVariant* value,
      GError** error,
      gpointer user_data
    )

#### Description [src]

The type of the `set_property` function in `GDBusInterfaceVTable`.

Available since: 2.26

#### Parameters

`connection`

  Type: `GDBusConnection`

  A `GDBusConnection`.

  The data is owned by the caller of the function.

`sender`

  Type: `const gchar*`

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

  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`

  Type: `const gchar*`

  The object path that the method was invoked on.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`interface_name`

  Type: `const gchar*`

  The D-Bus interface name for the property.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`property_name`

  Type: `const gchar*`

  The name of the property to get the value of.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`value`

  Type: `GVariant`

  The value to set the property to.

  The data is owned by the caller of the function.

`error`

  Type: `GError`

  Return location for error.

  The data is owned by the caller of the function.

`user_data`

  Type: `gpointer`

  The `user_data` #gpointer passed to g_dbus_connection_register_object().

  The argument can be `NULL`.
  The data is owned by the caller of the function.

#### Return value

Type: `gboolean`

`TRUE` if the property was set to `value`, `FALSE` if `error` is set.