Creates a surrogate GOMAttribute
object (which is a descriptor of
an attribute).
Unlike the same type objects returned by getAttr()
function,
the one created by this function is not connected to the data source.
Instead, it always provides only the attribute name and value that have been
specified in the function parameters.
This function was introduced mainly for usage together
with CustomElement()
function so as to make possible
creating a custom element along with all its attributes in a single call.
Parameters:
name
The name of the created attribute
value
The value of the created attribute
See Also:
CustomElement(), getAttr(), setAttr()