DBusMessage.setHeader

Sets a header field on message.

If value is floating, message assumes ownership of value.

class DBusMessage
void
setHeader

Parameters

headerField GDBusMessageHeaderField

A 8-bit unsigned integer (typically a value from the GDBusMessageHeaderField enumeration)

value Variant

A glib.Variant to set the header field or NULL to clear the header field.

Meta

Since

2.26