andlabs / andlabs/ui

Reopen a closed window

Aperta
#421 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
8.4k
Fork
639
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.