Display.fromHandle constructor
Display.fromHandle(
- int nativeHandle
Adopts a handle returned by the C API and releases it when this object becomes unreachable.
Implementation
Display.fromHandle(this.nativeHandle) {
_finalizer.attach(
this,
ffi.Pointer<ffi.Void>.fromAddress(nativeHandle),
detach: this,
);
}