is_valid_name


Description:

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

Validate a signal name.

This can be useful for dynamically-generated signals which need to be validated at run-time before actually trying to create them.

See [func@GObject.signal_new] for details of the rules for valid names. The rules for signal names are the same as those for property names.

Parameters:

name

the canonical name of the signal

Returns:

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