Package: gobject

CStruct gobject:param-spec

Declaration

(cffi:defcstruct param-spec
  (:type-instance (:pointer (:struct type-instance)))
  (:name (:string :free-from-foreign nil :free-to-foreign nil))
  (:flags param-flags)
  (:value-type type-t)
  (:owner-type type-t))  

Values

:type-instance
The private g:type-instance portion.
:name
The name of this parameter, always an interned string.
:flags
The g:param-flags value for this parameter.
:value-type
The g:type-t type ID for the g:value instance for this parameter.
:owner-type
The g:type-t type ID that uses this parameter.

Details

The g:param-spec structure is an object structure that encapsulates the metadata required to specify parameters, such as, for example 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.
 

See also

2024-9-16