Skip to main content

Module NativeHost

Module NativeHost 

Source
Expand description

NativeHost domain handlers for Wind IPC.

Covers INativeHostService commands: dialogs, OS info, window state, color scheme, dark mode detection, port scanning.

Functionsยง

detect_dark_mode ๐Ÿ”’
Cross-platform dark mode detection
handle_native_find_free_port
Find a free port starting from a given port
handle_native_get_color_scheme
Detect OS color scheme - cross-platform dark mode detection
handle_native_is_fullscreen
Check if window is fullscreen
handle_native_is_maximized
Check if window is maximized
handle_native_os_properties
Get OS properties - cross-platform (macOS, Windows, Linux)
handle_native_os_statistics
Get OS statistics - cross-platform memory/load stats
handle_native_pick_folder
Pick folder using Tauri dialog plugin and reload webview with folder param.
handle_native_show_open_dialog
Show open dialog with file/folder picker