default value for the property specified
#GParamFlags flags for this parameter
private #GTypeInstance portion
name of this parameter: always an interned string
#GType type that uses (introduces) this parameter
private #GParamSpec portion
the #GValue type for this parameter
Get the short description of a #GParamSpec.
Gets the default value of pspec
as a pointer to a #GValue.
The #GValue will remain valid for the life of pspec
.
Get the name of a #GParamSpec.
The name is always an "interned" string (as per g_intern_string()). This allows for pointer-value comparisons.
Gets the GQuark for the name.
Get the nickname of a #GParamSpec.
Gets back user data pointers stored via g_param_spec_set_qdata().
a #GQuark, naming the user data pointer
If the paramspec redirects operations to another paramspec, returns that paramspec. Redirect is used typically for providing a new implementation of a property in a derived type while preserving all the properties from the parent type. Redirection is established by creating a property of type #GParamSpecOverride. See g_object_class_override_property() for an example of the use of this capability.
Sets an opaque, named pointer on a #GParamSpec. The name is
specified through a #GQuark (retrieved e.g. via
g_quark_from_static_string()), and the pointer can be gotten back
from the pspec
with g_param_spec_get_qdata(). Setting a
previously set user data pointer, overrides (frees) the old pointer
set, using %NULL as pointer essentially removes the data stored.
a #GQuark, naming the user data pointer
an opaque user data pointer
The initial reference count of a newly created #GParamSpec is 1,
even though no one has explicitly called g_param_spec_ref() on it
yet. So the initial reference count is flagged as "floating", until
someone calls g_param_spec_ref (pspec); g_param_spec_sink (pspec);
in sequence on it, taking over the initial
reference count (thus ending up with a pspec
that has a reference
count of 1 still, but is not flagged "floating" anymore).
Gets back user data pointers stored via g_param_spec_set_qdata()
and removes the data
from pspec
without invoking its destroy()
function (if any was set). Usually, calling this function is only
required to update user data pointers with a destroy notifier.
a #GQuark, naming the user data pointer
Validate a property name for a #GParamSpec. This can be useful for dynamically-generated properties which need to be validated at run-time before actually trying to create them.
See [canonical parameter names][canonical-parameter-names] for details of the rules for valid names.
the canonical name of the property
A #GParamSpec derived structure that contains the meta data for unichar (unsigned integer) properties.