tao@0.22.0
Ce contenu n’est pas encore disponible dans votre langue.
-
d0b20c94
(#778) This release contains a number of breaking changes that aimed at removing menus, system-tray and global-shortcuts features which have been moved to different crates,muda
,tray-icon
andglobal-hotkey
and here is a summary of the changes:- Removed
tray
crago feature flag. - Removed
accelerator
,menu
,system_tray
andglobal_shortcut
modules and all associated types. - Removed
Event::MenuEvent
,Event::TrayEvent
,Event::GlobalShortcutEvent
,TrayEvent
andRectangle
types. - Added
EventLoopBuilder
type. - Removed
EventLoop::with_user_event
, instead useEventLoopBuilder::<T>::with_user_event().build()
. - Removed
EventLoopExtWindows
,EventLoopExtMacOS
andEventLoopExtUnix
, instead useEventLoopBuilderExtWindows
,EventLoopBuilderExtMacOS
andEventLoopBuilderExtUnix
. - Changed
WindowExtWindows::hinstance
,WindowExtWindows::hwnd
andMonitorHandleExtWindow::hmonitor
to returnisize
instead of*const c_void
- Removed
© 2024 Tauri Contributors. CC-BY / MIT