Serializable.setProperty

Calls the vfuncJson.Serializable.set_property implementation on the json.serializable.Serializable instance, which will set the property with the given value.

interface Serializable
void
setProperty

Parameters

pspec gobject.param_spec.ParamSpec

a property description

value gobject.value.Value

the property value to set