Variable: events
constevents:EventEmitter<NativeEventMap>
Defined in: packages/ffi/src/native/events.ts:32
Event emitter for GTK application lifecycle events.
Emits "start" when start is called and "stop" when stop is called.
Example
import { events } from "@gtkx/ffi";
events.on("start", () => {
console.log("Application started");
});
events.on("stop", () => {
console.log("Application stopping");
});