andlabs / andlabs/ui

Reopen a closed window

Đang mở
#421 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
8.4k
Fork
639
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.