In Imgui the "Popup definition" and visibility of the popup is controlled by two different calls.
Definition: BeginPopup/EndPopup
Visibility: OpenPopup.
We can add an "Open" Input pin to the PopupWindow, no other nodes needed.
Or/And visibility is controlled by a special OpenPopup node. If we'll have OpenPopup node, it should probably listening to the BSubject.
Here are the two versions (see the HowTo Popup).
Visibility of the Popup1 is triggered by the Input pin.
Visibility of the Popup2 is triggered by the extra node OpenPopup (at the moment, it has only "Label" and "Flags" inputs and should be wrapped in the If region).
In Imgui the "Popup definition" and visibility of the popup is controlled by two different calls. Definition: BeginPopup/EndPopup Visibility: OpenPopup.
We can add an "Open" Input pin to the
PopupWindow
, no other nodes needed. Or/And visibility is controlled by a specialOpenPopup
node. If we'll haveOpenPopup
node, it should probably listening to the BSubject.Here are the two versions (see the
HowTo Popup
). Visibility of the Popup1 is triggered by the Input pin. Visibility of the Popup2 is triggered by the extra nodeOpenPopup
(at the moment, it has only "Label" and "Flags" inputs and should be wrapped in the If region).