Companion

external object Companion(source)

Properties

Link copied to clipboard
external val DRAG_DROP: TauriEvent

The user dropped files onto a webview. See Webview.onDragDropEvent.

Link copied to clipboard
external val DRAG_ENTER: TauriEvent

The user dragged files onto a webview. See Webview.onDragDropEvent.

Link copied to clipboard
external val DRAG_LEAVE: TauriEvent

The drag operation left the webview or was cancelled. See Webview.onDragDropEvent.

Link copied to clipboard
external val DRAG_OVER: TauriEvent

The user is moving dragged files over a webview. See Webview.onDragDropEvent.

Link copied to clipboard

A new webview was created.

Link copied to clipboard
external val WINDOW_BLUR: TauriEvent

A window lost focus. See Window.onFocusChanged.

Link copied to clipboard

The user requested a window to be closed (e.g. clicked the close button). See Window.onCloseRequested, which also handles preventing the close.

Link copied to clipboard

A new window was created.

Link copied to clipboard

A window was destroyed, i.e. it is gone and its label can be reused.

Link copied to clipboard
external val WINDOW_FOCUS: TauriEvent

A window gained focus. See Window.onFocusChanged.

Link copied to clipboard
external val WINDOW_MOVED: TauriEvent

A window was moved. Payload: the new outer position, in physical pixels. See Window.onMoved.

Link copied to clipboard

A window was resized. Payload: the new inner size, in physical pixels. See Window.onResized.

Link copied to clipboard

The window's event loop was resumed after being suspended.

Link copied to clipboard

The scale factor of the monitor a window is on changed, or the window moved to a monitor with a different scale factor. See Window.onScaleChanged.

Link copied to clipboard

The window's event loop was suspended.

Link copied to clipboard

The system or window theme changed. See Window.onThemeChanged.