property_set_byte_array


Description:

public bool property_set_byte_array (string property, uint8 value, size_t nelements)

Takes a byte array value and sets it on property as a property on this.

If a property already exists by that name, then the value is set to the new value. If not, the property is added. If the value is changed or the property was previously unset then the signal DbusmenuMenuitem::prop-changed will be emitted by this function.

Parameters:

this

The Menuitem to set the property on.

property

Name of the property to set.

value

The byte array.

nelements

The number of elements in the byte array.

Returns:

A boolean representing if the property value was set.