@tauri-apps/api@2.8.0
此内容尚不支持你的语言。
68874c68c
(#13564 by @robertrpf) Add window focusable attribute and set_focusable API.5110a762e
(#13830 by @Sky-walkerX) AddedWindow::setSimpleFullscreen
.
-
5ba1c3faa
(#13722 by @s00d) Added icon (icon and nativeIcon) support for Submenu:- In the Rust API (
tauri
), you can now set an icon for submenus via the builder and dedicated methods. - In the JS/TS API (
@tauri-apps/api
),SubmenuOptions
now has anicon
field, and theSubmenu
class providessetIcon
andsetNativeIcon
methods. - Usage examples are added to the documentation and demo app.
This is a backwards-compatible feature. Submenus can now display icons just like regular menu items.
- In the Rust API (
© 2025 Tauri Contributors. CC-BY / MIT