Skip to content

API Reference / @gtkx/runtime / getParamSpecOwnerType

Variable: getParamSpecOwnerType

const getParamSpecOwnerType: (spec) => bigint

Defined in: packages/runtime/dist/param-spec.d.ts:31

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.

Released under the MPL-2.0 License.