Skip to content

API Reference / @gtkx/runtime / getBoxedValue

Function: getBoxedValue()

getBoxedValue(value): object | null

Defined in: runtime/dist/value.d.ts:8

Duplicates the boxed value held by a GValue and returns the copy wrapped in the class registered for its GType, or null when the GValue holds no boxed type.

Parameters

value

ExternalObject<Handle>

Returns

object | null

Released under the MPL-2.0 License.