06 - Window Management

Tauri supports single-window and multi-window apps.

Common window operations

  • Create additional windows
  • Set title, size, always-on-top, decorations
  • Listen for close/focus/resize events

Multi-window example

WindowResponsibility
MainCore workflow
PreferencesSettings editor
AboutVersion/license info

Best practices

  • Keep one source of truth for app state
  • Sync window state through commands/events
  • Prevent duplicate utility windows unless intended