Creates a new ParamSpec instance.
See canonical parameter names for details of the rules for name
. Names which violate these rules lead to undefined
behaviour.
Beyond the name, ParamSpecs have two more descriptive strings associated with them, the
nick
, which should be suitable for use as a label for the property in a property editor, and the blurb
, which
should be a somewhat longer description, suitable for e.g. a tooltip. The nick
and blurb
should ideally be
localized.
param_type |
the Type for the property; must be derived from g_type_param |
name |
the canonical name of the property |
nick |
the nickname of the property |
blurb |
a short description of the property |
flags |
a combination of ParamFlags |
(transfer floating): a newly allocated ParamSpec instance, which is initially floating |