ParamSpec.isValidName

bool isValidName(string name)

Validate a property name for a #GParamSpec. This can be useful for dynamically-generated properties which need to be validated at run-time before actually trying to create them.

See [canonical parameter names][canonical-parameter-names] for details of the rules for valid names.

Parameters

namethe canonical name of the property

Returns

true if name is a valid property name, false otherwise.