Skip to content

API Reference / @gtkx/native / getWrapper

Function: getWrapper()

getWrapper(handle): object | null

Defined in: index.d.ts:93

Returns the JavaScript wrapper object previously attached to the handle's GObject, or null when no wrapper is set.

Parameters

handle

ExternalObject<Handle>

Returns

object | null

Released under the MPL-2.0 License.