set_body


Description:

public void set_body (Variant body)

Sets the body of this.

As a side-effect the [enum@Gio.DBusMessageHeaderField.SIGNATURE] header field is set to the type string of body (or cleared if body is `NULL`).

If body is floating, this assumes ownership of body.

Parameters:

this

a D-Bus message

body

a [type@GLib.Variant] containing a tuple, or `NULL` if no body is needed