ParamSpecPool

A #GParamSpecPool maintains a collection of #GParamSpecs which can be quickly accessed by owner and name.

The implementation of the #GObject property system uses such a pool to store the #GParamSpecs of the properties all object types.

Constructors

this
this(bool typePrefixing)

Creates a new #GParamSpecPool.

Members

Functions

insert
void insert(gobject.param_spec.ParamSpec pspec, gobject.types.GType ownerType)

Inserts a #GParamSpec in the pool.

list
gobject.param_spec.ParamSpec[] list(gobject.types.GType ownerType)

Gets an array of all #GParamSpecs owned by owner_type in the pool.

listOwned
gobject.param_spec.ParamSpec[] listOwned(gobject.types.GType ownerType)

Gets an #GList of all #GParamSpecs owned by owner_type in the pool.

lookup
gobject.param_spec.ParamSpec lookup(string paramName, gobject.types.GType ownerType, bool walkAncestors)

Looks up a #GParamSpec in the pool.

remove
void remove(gobject.param_spec.ParamSpec pspec)

Removes a #GParamSpec from the pool.