andlabs / andlabs/ui

Reopen a closed window

未关闭
#421 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
8.4k
派生
639
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。