andlabs / andlabs/ui

Reopen a closed window

Open
#421 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
8.4k
Forks
639
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.