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

Reopen a closed window #421

Open
cazzoo opened this issue Jan 17, 2022 · 0 comments
Open

Reopen a closed window #421

cazzoo opened this issue Jan 17, 2022 · 0 comments

Comments

@cazzoo
Copy link

cazzoo commented Jan 17, 2022

Hello,

I try to re-open a window that is closed without any success.
Indeed, ui.Main is not my main program loop and I want to open window on demand (it's a subroutine of my main program).
When registering window to ui.Main(myWindow) and then call Destroy() from myWindow, I'm not in position to call the Main again with the same argument.
Getting into the code, it appears that myWindows is considered as already registered and couldn't get it open once again.

How should I handle this specific case?

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