DBusMessage.setBody

Sets the body message. As a side-effect the gio.types.DBusMessageHeaderField.Signature header field is set to the type string of body (or cleared if body is null).

If body is floating, message assumes ownership of body.

class DBusMessage
void
setBody

Parameters

body_ glib.variant.VariantG

Either null or a #GVariant that is a tuple.