utilSetObjectArg

fnvoid utilSetObjectArg(gobject.object.ObjectWrap object, string name, string value)

Converts the string value to the type of the objects argument and sets the argument with it.

Note that this function silently returns if object has no property named name or when value cannot be converted to the type of the property.

Parameters

objectthe object to set the argument of
namethe name of the argument to set
valuethe string value to set