You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to achieve the sort of application where no window does not mean app must exit. It still must run in the background. However when I try to call window.Hide() which suppose to only hide it but not destroy seems that it actually gets destroyed. What I tried:
struct that I use as common object in qml and go code. In this struct I set Window *qml.Window. Window has Close button (standard controls are hidden through Qt.FramelessWindowHint). Upon clicking Close button from go code I call window.Hide(). This seem to work fine and window is supposedly hidden (the reference to object still exists!). But when I try to call window.Show() -- nothing happens.
I am not sure whether this is the right way to achieve what I want, but I don't want to rebuild window every time. Moreover it seems to be impossible to build window from non-main goroutine... Though I am not sure what is the reason behind this one.
The text was updated successfully, but these errors were encountered:
I am really confused about window.Hide()
I am trying to achieve the sort of application where no window does not mean app must exit. It still must run in the background. However when I try to call window.Hide() which suppose to only hide it but not destroy seems that it actually gets destroyed. What I tried:
struct
that I use as common object in qml and go code. In this struct I setWindow *qml.Window
. Window hasClose
button (standard controls are hidden throughQt.FramelessWindowHint
). Upon clicking Close button from go code I call window.Hide(). This seem to work fine and window is supposedly hidden (the reference to object still exists!). But when I try to call window.Show() -- nothing happens.I am not sure whether this is the right way to achieve what I want, but I don't want to rebuild window every time. Moreover it seems to be impossible to build window from non-main goroutine... Though I am not sure what is the reason behind this one.
The text was updated successfully, but these errors were encountered: