Skip to content

API Reference / @gtkx/runtime / getHandle

Function: getHandle()

getHandle(instance): ExternalObject<Handle>

Defined in: runtime/dist/registry.d.ts:60

Returns the native handle bound to a wrapper instance, throwing if none is set.

Parameters

instance

object

Returns

ExternalObject<Handle>

Released under the MPL-2.0 License.