File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ tray-icon : patch
3
+ ---
4
+
5
+ Correct ` with_menu_on_left_click ` 's docs to include window support
Original file line number Diff line number Diff line change @@ -178,7 +178,11 @@ pub struct TrayIconAttributes {
178
178
/// Use the icon as a [template](https://developer.apple.com/documentation/appkit/nsimage/1520017-template?language=objc). **macOS only**.
179
179
pub icon_is_template : bool ,
180
180
181
- /// Whether to show the tray menu on left click or not, default is `true`. **macOS & Windows only**.
181
+ /// Whether to show the tray menu on left click or not, default is `true`.
182
+ ///
183
+ /// ## Platform-specific:
184
+ ///
185
+ /// - **Linux:** Unsupported.
182
186
pub menu_on_left_click : bool ,
183
187
184
188
/// Tray icon title.
@@ -293,7 +297,11 @@ impl TrayIconBuilder {
293
297
self
294
298
}
295
299
296
- /// Whether to show the tray menu on left click or not, default is `true`. **macOS only**.
300
+ /// Whether to show the tray menu on left click or not, default is `true`.
301
+ ///
302
+ /// ## Platform-specific:
303
+ ///
304
+ /// - **Linux:** Unsupported.
297
305
pub fn with_menu_on_left_click ( mut self , enable : bool ) -> Self {
298
306
self . attrs . menu_on_left_click = enable;
299
307
self
You can’t perform that action at this time.
0 commit comments