ParamSpecPool

class ParamSpecPool(val gobjectParamSpecPoolPointer: <Error class: unknown class><<Error class: unknown class>>)(source)

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.

Skipped during bindings generation

  • parameter n_pspecs_p: n_pspecs_p: Out parameter is not supported

Constructors

Link copied to clipboard
constructor(gobjectParamSpecPoolPointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val gobjectParamSpecPoolPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
fun free()

Frees the resources allocated by a #GParamSpecPool.

Link copied to clipboard
fun insert(pspec: ParamSpec, ownerType: <Error class: unknown class>)

Inserts a #GParamSpec in the pool.

Link copied to clipboard
fun listOwned(ownerType: <Error class: unknown class>): <Error class: unknown class>

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

Link copied to clipboard
fun lookup(paramName: String, ownerType: <Error class: unknown class>, walkAncestors: Boolean): ParamSpec?

Looks up a #GParamSpec in the pool.

Link copied to clipboard
fun remove(pspec: ParamSpec)

Removes a #GParamSpec from the pool.