serialize_property


Description:

public virtual Node? serialize_property (Node property_node, ParamSpec prop, bool nick) throws Error

Serialization method to add a GXml.Attribute to a GXml.Element, using GLib.ParamSpec name or nick, if @param nick is set to true, as the attribute's name.

If GXml.SerializableProperty.get_serializable_property_value returns null given GXml.Node should not be modified.