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

Possability of having a persistent taskbar icon to launch GUI? #151

Open
MostHated opened this issue Feb 20, 2022 · 0 comments
Open

Possability of having a persistent taskbar icon to launch GUI? #151

MostHated opened this issue Feb 20, 2022 · 0 comments

Comments

@MostHated
Copy link

Hey there,
My overall goal with my application is to be able to have an icon on the taskbar that can change depending on status, that also allows you to click on the icon to open the GUI, then upon closing the GUI (depending on user preference) either hide the window back to just a taskbar icon or quit the whole application. I am trying to figure out where to actually start in implementing this and if NativeShell is capable of doing/allowing this, or if it is going to end up being more of a limiting factor.

I see that, at least on the user implementation side of things, the window_manager.createwindow and run_loop seem like they could be delayed and be called at a later time, as opposed to right away at application launch (though, I have not actually tested this yet), but is there any way to destroy the window in a manner in which it could be called again to recreate it without there being issues, or once it is created, that is basically it and it ends up being "all or nothing"?

If you happen to have any insight into this, whether you think it might be possible or not, I would greatly appreciate it.
Thanks,
-MH

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

No branches or pull requests

1 participant