is_valid_name


Description:

[ Version ( since = "2.66" ) ]
public static bool is_valid_name (string name)

Validate a property name for a ParamSpec.

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 for details of the rules for valid names.

Parameters:

name

the canonical name of the property

Returns:

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