ParamSpec.isValidName

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.

class ParamSpec
static
bool
isValidName
(
string name
)

Parameters

name string

the canonical name of the property

Return Value

Type: bool

%TRUE if @name is a valid property name, %FALSE otherwise.

Meta

Since

2.66