Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] set_visible for tauri::SystemTrayHandle #336

Closed
tauri-apps bot opened this issue Mar 4, 2022 · 1 comment
Closed

[feat] set_visible for tauri::SystemTrayHandle #336

tauri-apps bot opened this issue Mar 4, 2022 · 1 comment

Comments

@tauri-apps
Copy link

tauri-apps bot commented Mar 4, 2022

This issue has been upstreamed from tauri-apps/tauri#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

@amrbashir
Copy link
Member

amrbashir commented Jan 11, 2023

Closing as this is now being implemented in tray-icon crate tauri-apps/tray-icon#14, and will not be implemented in tao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant