tao@0.15.0
此内容尚不支持你的语言。
- Add support for parsing
ArrowUp,ArrowDown,ArrowLeftandArrowRightin a str as valid key. Previously onlyUp,Down,LeftandRightworked. - Add
WindowBuilder::with_content_protection. - On macOS, fix default cursor always being arrow cursor
- On Windows, fixed focus event emission on minimize.
- Update jni to 0.20.
- On Linux, add DeviceEvent::Key.
- fix(linux): Improve event loop process on Linux a bit. This changes only a few check and should make dragging windows on egui smoother.
- Fix inverted delta in
WindowEvent::MouseWheelon Linux - Add
EventLoopExtMacOS::set_activate_ignoring_other_appson macOS. - Add
WindowExtMacOS::set_allows_automatic_window_tabbing,WindowExtMacOS::allows_automatic_window_tabbing, andWindowBuilderExtMacOS::with_automatic_window_tabbingon macOS. - Support cross compiling for macos from a non macos host.
- Add
WindowExtMacOS::is_doucmented_editedandWindowExtMacOS::set_is_doucmented_editedon macOS. - On macOS, scale menu item icons height to 18.
- Add support for the ”+” key in menu accelerators using
KeyCode::Plusor the “Plus” keyword. See documentation forKeyCode::Plusfor notes on platform-dependent behaviour. - Add the application name to the “Quit” and “Hide” native menu items on macOS.
- Fix the native Services menu on macOS.
- Scale the tray icon according to its aspect ratio on macOS.
- Add builder methods on Linux to control the drawing behavior of the window.
WindowBuilderExtUnix::with_double_buffered,WindowBuilderExtUnix::with_rgba_visualandWindowBuilderExtUnix::with_app_paintable - On Windows, show Window menu (also known as the System menu or Control menu) in response to <kbd>Alt+Space</kbd>.
- On Windows, fix icons specified on
WindowBuildernot taking effect for windows created after the firt one. - Added tabbing identifier APIs on macOS.
- On Linux, reduce channel redirect. Now sending user events and redraw request will send to event loops directly.
- Add
WindowBuilder::with_focusedto specify whether to initially focus the window or not. - Add APIs for disabling the individual window controls on desktop platforms,
Window::set_closable,Window::is_closable,WindowBuilder::with_closable,Window::set_minimizable,Window::is_minimizable,WindowBuilder::with_minimizable,Window::set_maximizable,Window::is_maximizable,WindowBuilder::with_maximizable. See the docs for platform-specific notes, especially regarding Linux. - Add
Window::titleto get the current window title. - Default to MOD_NOREPEAT for registering global shortcuts / hotkeys via win32 RegisterHotKey on Windows. This prevents shortcuts from repeatedly activating when the accelerator is pressed and held down, and ensures that we maintain platform-agnostic consistency.
© 2025 Tauri Contributors. CC-BY / MIT