ParamSpec.setQdata

Sets an opaque, named pointer on a #GParamSpec. The name is specified through a #GQuark (retrieved e.g. via glib.global.quarkFromStaticString), and the pointer can be gotten back from the pspec with gobject.param_spec.ParamSpec.getQdata. Setting a previously set user data pointer, overrides (frees) the old pointer set, using null as pointer essentially removes the data stored.

class ParamSpec
void
setQdata
(,
void* data = null
)

Parameters

quark glib.types.Quark

a #GQuark, naming the user data pointer

data void*

an opaque user data pointer