Gjsify LogoGjsify Logo

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.

record

Hierarchy

  • ParamSpecPool

Index

Constructors

Properties

name: string

Methods

  • Inserts a #GParamSpec in the pool.

    Parameters

    • pspec: ParamSpec

      the #GParamSpec to insert

    • ownerType: GType<unknown>

      a #GType identifying the owner of pspec

    Returns void

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

    Parameters

    • ownerType: GType<unknown>

      the owner to look for

    Returns ParamSpec[]

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

    Parameters

    • ownerType: GType<unknown>

      the owner to look for

    Returns ParamSpec[]

  • lookup(paramName: string, ownerType: GType<unknown>, walkAncestors: boolean): ParamSpec
  • Looks up a #GParamSpec in the pool.

    Parameters

    • paramName: string

      the name to look for

    • ownerType: GType<unknown>

      the owner to look for

    • walkAncestors: boolean

      If %TRUE, also try to find a #GParamSpec with param_name owned by an ancestor of owner_type.

    Returns ParamSpec

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method