Basics
Guides
API Reference
Basics
Guides
API Reference
[15:7] extends: object
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.
GParamSpecPool (Handle = null)
Creates a new
ParamSpecPoolby wrapping a native handle or another wrapper.
Handle is the native handle or another wrapper whose handle to adopt.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.free ()
Frees the resources allocated by a #GParamSpecPool.
None.insert (object pspec, int owner_type)
Inserts a #GParamSpec in the pool.
pspec is the #GParamSpec to insert.owner_type is a #GType identifying the owner of @pspec.None.FnList (int owner_type)
Gets an array of all #GParamSpecs owned by @owner_type in the pool.
owner_type is the owner to look for.n_pspecs_p is return location for the length of the returned array.a newly allocated array containing pointers to all #GParamSpecs owned by @owner_type in the pool.list_owned (int owner_type)
Gets an #GList of all #GParamSpecs owned by @owner_type in the pool.
owner_type is the owner to look for.a #GList of all #GParamSpecs owned by @owner_type in the pool#GParamSpecs..lookup (string param_name, int owner_type, bool walk_ancestors)
Looks up a #GParamSpec in the pool.
param_name is the name to look for.owner_type is the owner to look for.walk_ancestors is If %TRUE, also try to find a #GParamSpec withowned by an ancestor of @owner_type..The found #GParamSpec, or %NULL if no matching #GParamSpec was found..remove (object pspec)
Removes a #GParamSpec from the pool.
pspec is the #GParamSpec to remove.None.owned ()
Returns
list_ownedas an Aussom list of wrapper objects. This companion method materializes the full collection up front; uselist_owned()when lazy or change-notify access is required.
An Aussom list of elements.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.