By default popup visibility is false. Popup, unlike other nodes, changes children visibility when calling show() and hide().
Types
PopupObj = object of ControlObj
PopupRef = ref PopupObj
Methods
method hide(self: PopupRef) {...}{.raises: [Exception], tags: [RootEffect].}
- Hides popup.
method show(self: PopupRef) {...}{.raises: [Exception], tags: [RootEffect].}
- Shws popup.
method toggle(self: PopupRef) {...}{.base, raises: [Exception], tags: [RootEffect].}
method calcPositionAnchor(self: PopupRef) {...}{.raises: [Exception], tags: [RootEffect].}
- This uses in the scene.nim.
method duplicate(self: PopupRef): PopupRef {...}{.base, raises: [], tags: [].}
- Duplicates Popup object and create a new Popup.