Package: gobject

CStruct g-param-spec-string

Details

A g-param-spec derived structure that contains the meta data for string properties.
(defcstruct g-param-spec-string
  (:parent-instance (:pointer (:struct g-param-spec)))
  (:default-value (:string :free-to-foreign nil :free-from-foreign nil))
  (:cset-first (:string :free-to-foreign nil :free-from-foreign nil))
  (:cset-nth (:string :free-to-foreign nil :free-from-foreign nil))
  (:substitutor :char)
  (:flags-for-null :uint))  
:parent-instance
Private g-param-spec portion.
:default-value
A string with the default value.
:cset-frist
A string with the containing the allowed values for the first byte.
:cset-nth
A string with the containing the allowed values for the subsequent bytes.
:substitutor
A character with the replacement byte for bytes which do not match :cset-first or cset-nth.
:flags-for-null
An unsigned integer, replace empty string by nil and nil strings by an empty string.
 

See also

2021-12-14