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(GParamSpecPool* gParamSpecPool, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(bool typePrefixing)

Creates a new #GParamSpecPool.

Members

Functions

getParamSpecPoolStruct
GParamSpecPool* getParamSpecPoolStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

insert
void insert(ParamSpec pspec, GType ownerType)

Inserts a #GParamSpec in the pool.

list
ParamSpec[] list(GType ownerType)

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

listOwned
ListG listOwned(GType ownerType)

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

lookup
ParamSpec lookup(string paramName, GType ownerType, bool walkAncestors)

Looks up a #GParamSpec in the pool.

remove
void remove(ParamSpec pspec)

Removes a #GParamSpec from the pool.

Variables

gParamSpecPool
GParamSpecPool* gParamSpecPool;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta