DBusMessage.setBody

Sets the body @message. As a side-effect the %G_DBUS_MESSAGE_HEADER_FIELD_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_ Variant

Either %NULL or a #GVariant that is a tuple.

Meta

Since

2.26