#3008

window hide show

OpenSunrisiesopened 1mo ago

I would like to confirm if the function of hiding/displaying windows is currently available? If available, could you please provide specific instructions on how to use it? Thanks! The latest version is 0.6.0

Activity

7
Muhammad-Owais-Warsi1mo ago

It seems only these methods are available to play around with window

ActionMethodNotes
Minimize (hide to dock/taskbar)window.minimize_window()What TitleBar uses
Bring to front (show again)window.activate_window()Also un-minimizes
Close windowwindow.remove_window()Destroys the window
Reopen windowcx.open_window(opts, builder)Returns new WindowHandle
Hide whole app (macOS)cx.hide()Hides all windows
Unhide whole appcx.activate(true)Brings app forward
Sunrisies1mo ago

Hide whole app (macOS) | cx.hide() | Hides all windows

Unhide whole app | cx.activate(true) | Brings app forward These two don't seem to be effective

Muhammad-Owais-Warsi1mo ago

Yes, I guess you're right, these 2 methods seems not to be available specifically for windows I'm also using activate_window in my app.

Sunrisies1mo ago

At present, it seems that this is still not effective. I am using this to hide and display a window. Have you ever encountered this situation on your end

Sunrisies1mo ago

This is for Mac This is from Window

The source is

This is about the use of this section

This library,Or did I misunderstand on my end

Muhammad-Owais-Warsi1mo ago
Sunrisies1mo ago

Okay, thank you.