tao@0.15.0
Esta página aún no está disponible en tu idioma.
- Add support for parsing
ArrowUp
,ArrowDown
,ArrowLeft
andArrowRight
in a str as valid key. Previously onlyUp
,Down
,Left
andRight
worked. - 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::MouseWheel
on Linux - Add
EventLoopExtMacOS::set_activate_ignoring_other_apps
on macOS. - Add
WindowExtMacOS::set_allows_automatic_window_tabbing
,WindowExtMacOS::allows_automatic_window_tabbing
, andWindowBuilderExtMacOS::with_automatic_window_tabbing
on macOS. - Support cross compiling for macos from a non macos host.
- Add
WindowExtMacOS::is_doucmented_edited
andWindowExtMacOS::set_is_doucmented_edited
on macOS. - On macOS, scale menu item icons height to 18.
- Add support for the ”+” key in menu accelerators using
KeyCode::Plus
or the “Plus” keyword. See documentation forKeyCode::Plus
for 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_visual
andWindowBuilderExtUnix::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
WindowBuilder
not 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_focused
to 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::title
to 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.
© 2024 Tauri Contributors. CC-BY / MIT