util_set_object_arg
function util_set_object_arg(object:GObject.Object, name:String, value:String):void { // Gjs wrapper for gst_util_set_object_arg() }
Convertes 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.
- object
the object to set the argument of
- name
the name of the argument to set
- value
the string value to set