import { type WindowEvent } from "https://deno.land/x/pane@0.2.1/types.ts";
Describes an event from a Pane
window.
definition:
| { type: "closeRequested"; }
| { type: "destroyed"; }
| { type: "droppedFile"; value: string; }
| { type: "hoveredFile"; value: string; }
| { type: "hoveredFileCancelled"; }
| { type: "receivedCharacter"; value: string; }
| { type: "focused"; value: boolean; }
| { type: "keyboardInput"; value: { deviceId: number; input: KeyboardInput; isSynthetic: boolean; }; }
| { type: "cursorEntered"; value: { deviceId: number; }; }
| { type: "cursorLeft"; value: { deviceId: number; }; }
| { type: "touchpadPressure"; value: { deviceId: number; pressure: number; stage: number; }; }