Package: gobject

CStruct g-param-spec

Details

g-param-spec is an object structure that encapsulates the metadata required to specify parameters, such as e.g. g-object properties.

Parameter names need to start with a letter (a-z or A-Z). Subsequent characters can be letters, numbers or a '-'. All other characters are replaced by a '-' during construction. The result of this replacement is called the canonical name of the parameter.
(defcstruct g-param-spec
  (:type-instance (:pointer (:struct g-type-instance)))
  (:name (:string :free-from-foreign nil :free-to-foreign nil))
  (:flags g-param-flags)
  (:value-type g-type)
  (:owner-type g-type))  
:type-instance
Private g-type-instance portion.
:name
Name of this parameter: always an interned string.
:flags
The g-param-flags flags for this parameter.
:value-type
The g-value type for this parameter.
:owner-type
The g-type that uses this parameter.
 

See also

2020-10-10