ParamSpecPool

A gobject.ParamSpecPool maintains a collection of gobject.ParamSpecs which can be quickly accessed by owner and name. The implementation of the GObject property system uses such a pool to store the gobject.ParamSpecs 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 gobject.ParamSpecPool

Members

Functions

getParamSpecPoolStruct
GParamSpecPool* getParamSpecPoolStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

insert
void insert(ParamSpec pspec, GType ownerType)

Inserts a gobject.ParamSpec in the pool.

list
ParamSpec[] list(GType ownerType)

Gets an array of all gobject.ParamSpecs owned by owner_type in the pool.

listOwned
ListG listOwned(GType ownerType)

Gets an GList of all gobject.ParamSpecs owned by owner_type in the pool.

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

Looks up a gobject.ParamSpec in the pool.

remove
void remove(ParamSpec pspec)

Removes a gobject.ParamSpec from the pool.

Variables

gParamSpecPool
GParamSpecPool* gParamSpecPool;

the main Gtk struct