ParamSpec.setQdata

Sets an opaque, named pointer on a gobject.ParamSpec 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 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
)

Parameters

quark GQuark

a GQuark, naming the user data pointer

data void*

an opaque user data pointer