Getting
Non-Image or non-drawable arguments are passed in a ProcedureConfig object but what is passed isn’t a plain Procedureconfig, from Python the type is <__gi__.ProcedureConfig{name-of-procedure}>
.
Obtaining an argument value from that appears to be done with config.get_properties(argname)
but I can’t find a description of that get_properties()
method, I only see get_property()
in the docs (GObject). Furthermore, what is returned by this method appears to always be an array?
Setting
I assume that returning values to a caller is done by setting values in the ProcedureConfig object, using names declared by an add_{type}_return_value(...)
when creating the procedure? If so what is the API?