:right-sidebar: True ParamSpecString =================================================================== .. currentmodule:: gi.repository.GObject .. class:: ParamSpecString(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.ParamSpec` A :obj:`~gi.repository.GObject.ParamSpec` derived structure that contains the meta data for string properties. Fields ------ .. rst-class:: interim-class .. class:: ParamSpecString :no-index: .. attribute:: cset_first A string containing the allowed values for the first byte .. attribute:: cset_nth A string containing the allowed values for the subsequent bytes .. attribute:: default_value Default value for the property specified .. attribute:: ensure_non_null Replace :const:`None` strings by an empty string .. attribute:: null_fold_if_empty Replace empty string by :const:`None` .. attribute:: parent_instance Private :obj:`~gi.repository.GObject.ParamSpec` portion .. attribute:: substitutor The replacement byte for bytes which don't match ``cset_first`` or ``cset_nth``\.