Skip to content

API Reference / @gtkx/runtime / getHandle

Function: getHandle() ​

getHandle(instance): ExternalObject<Handle>

Defined in: packages/runtime/src/registry.ts:714

Returns the native handle bound to a wrapper instance.

Parameters ​

instance ​

object

Returns ​

ExternalObject<Handle>

Throws ​

When no handle is bound to the value, such as a function passed where a widget is expected.