Skip to content

API Reference / @gtkx/runtime / getParamSpecOwnerType

Function: getParamSpecOwnerType() ​

getParamSpecOwnerType(spec): bigint

Defined in: packages/runtime/src/param-spec.ts:150

Reads the GType a GObject.ParamSpec is installed on.

Parameters ​

spec ​

object

The param spec wrapper to read.

Returns ​

bigint

The owning GType, or TYPE_INVALID while the spec is not installed on any type.