property_set_variant


Description:

public bool property_set_variant (string property, Variant value)

Takes the pair of property and value and places them 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 value of the property.

Returns:

A boolean representing if the property value was set.




2022 vala-language.org