GXml.Object.find_property_name – GXml-0.20 – Vala Binding Reference

GXml.Object.find_property_name – GXml-0.20 Reference Manual

# find_property_name

## Description:

public virtual ParamSpec? find_property_name (string nick)

Returns property's GLib.ParamSpec based on given nick, without '::' This function is case insensitive.

By default any property to be serialized, should set its nick with a prefix '::', while this method requires to avoid '::' for property's name to find. '::' will not be present on serialization output, so you can use any convention for your attribute's name, like using camel case.