pub type GDBusInterfaceSetPropertyFunc = Option<unsafe extern "C" fn(connection: *mut GDBusConnection, sender: *const gchar, object_path: *const gchar, interface_name: *const gchar, property_name: *const gchar, value: *mut GVariant, error: *mut *mut GError, user_data: gpointer) -> gboolean>;
Expand description
GDBusInterfaceSetPropertyFunc: @connection: A #GDBusConnection. @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. @value: The value to set the property to. @error: Return location for error. @user_data: The @user_data #gpointer passed to g_dbus_connection_register_object().
The type of the @set_property function in #GDBusInterfaceVTable.
Returns: %TRUE if the property was set to @value, %FALSE if @error is set.
Since: 2.26
Aliased Type§
pub enum GDBusInterfaceSetPropertyFunc {
None,
Some(unsafe extern "C" fn(*mut _GDBusConnection, *const i8, *const i8, *const i8, *const i8, *mut _GVariant, *mut *mut _GError, *mut c_void) -> i32),
}