Skip to content

API Reference / @gtkx/runtime / getBoxedValue

Function: getBoxedValue()

getBoxedValue(value): object | null

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

Reads the boxed pointer out of a GValue and returns it wrapped in its registered class, or null when the value does not hold a boxed type.

Parameters

value

ExternalObject<Handle>

Returns

object | null

Released under the MPL-2.0 License.