tao@0.4.0
此内容尚不支持你的语言。
- On Windows, Allow resizing of
decorations: false
aka borderless window. - Do not close the window on
CloseRequested
event and let the user handle it, keeping compatibility with macOS and Windows behavior. - On Windows, fix Aero-Snap for
decorations: false
aka borderless window. - Implement
MonitorHandle
and related methods on Linux. - Add
is_menu_visilbe
getter onWindow
- On macOS, make sure the
set_focus
is triggered even if the window is not visible. - Fix
with_visible(bool)
inWindowBuilder
for macOS. - Mark enums as
#[non_exhaustive]
to prevent breaking changes on enum update. - Remove
with_focus
andfocus
field inWindowAttribute
. Useset_focus
instead in most cases. - Revert d344825 and move
set_skip_taskbar
back behind aWindowExtWindows
andWindowExtUnix
. SystemTray
exposeset_menu
to update the system tray menu once created.- Only show window behaviour when it is visible. winuser::ShowWindow will show the window and make with_visible(false) obsolete.
- Add
with_skip_taskbar
behindWindowBuilderExtWindows
andWindowBuilderExtUnix
.
© 2024 Tauri Contributors. CC-BY / MIT