ParamSpecPool

Description GParamSpec is an object structure that encapsulates the metadata required to specify parameters, such as e.g. GObject properties. Parameter names need to start with a letter (a-z or A-Z). Subsequent characters can be letters, numbers or a '-'. All other characters are replaced by a '-' during construction. The result of this replacement is called the canonical name of the parameter.

Constructors

this
this(GParamSpecPool* gParamSpecPool)

Sets our main struct and passes it to the parent class

this
this(int typePrefixing)

Creates a new GParamSpecPool. If type_prefixing is TRUE, lookups in the newly created pool will allow to specify the owner as a colon-separated prefix of the property name, like "GtkContainer:border-width". This feature is deprecated, so you should always set type_prefixing to FALSE.

Members

Functions

getParamSpecPoolStruct
GParamSpecPool* getParamSpecPoolStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
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, int 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

Meta