tao icon indicating copy to clipboard operation
tao copied to clipboard

[feat] set_visible for tauri::SystemTrayHandle

Open tauri-apps[bot] opened this issue 3 years ago • 0 comments

This issue has been upstreamed from https://github.com/tauri-apps/tauri/issues/3615

Describe the problem

the need is to show/hide system tray on the fly by user's configuration for example, i just checked the doc that this feature is not implemented yet.

https://docs.rs/tauri/1.0.0-rc.3/tauri/struct.SystemTrayHandle.html

Describe the solution you'd like

implement set_visible function to tauri::SystemTrayHandle, signature would be like:

pub fn set_visible(&self, visible: bool) -> Result<()>

Alternatives considered

No response

Additional context

No response

tauri-apps[bot] avatar Mar 04 '22 19:03 tauri-apps[bot]