web-view icon indicating copy to clipboard operation
web-view copied to clipboard

Show / Hide web-view

Open TheKnarf opened this issue 4 years ago • 2 comments

Hi,

I'm trying to implement a spotlight-like application that should popup when needed and then hide itself when done. How do I show/hide the web-view? I'd rather not have to recreate the window and reload the html/js every time, instead I'd like from the Rust code to be able show/hide the window, is this possible?

TheKnarf avatar May 27 '20 12:05 TheKnarf

I think at this time we can manage to set the window position outside the screen to visually making it hidden. Hopefully there's an API to do this natively.

nampdn avatar Jun 18 '20 01:06 nampdn

I have implemented a function call to minimize the window to tray for gtk and edge in #200 It is currently availabe in my fork, if you are interested.

It should be possible to hide the window to system tray in windows and I am sure winapi has calls for that, but i am unsure if that can be supported for gtk.

Blakeinstein avatar Jul 05 '20 19:07 Blakeinstein