mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #73] Closing a Window programmatically #43
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mischnic on GitHub (Mar 29, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/73
The button "Show Preferences" correctly opens a window. The "Hide Preferences" button doesn't hide the window (but sets
state.showPreferencestofalse). Furthermore, pressing "Show" after "Hide" opens a second child window because the old one didn't close.After issuing "Show" - "Hide" - "Show":

@kusti8 commented on GitHub (Mar 30, 2018):
Currently when I remove a child, I don't have a method to close a Window.
d4d9760d97/src/components/DesktopComponent.js (L59-L67)I'll add that. I'll make a release with fixes for a lot of issues and then get back to yoga.