addChildPopup

Spawn a new child popup using OverlayIO.

Regular popups are mutually exclusive; only one can be open at a time. A child popup can coexist with its parent. As long as the parent is open, so is the child. The child can be closed without closing the parent popup, but closing the parent popup will close the child.

@safe
void
addChildPopup

Parameters

overlayIO OverlayIO

OverlayIO instance to control to popup.

parent PopupFrame

Parent popup.

popup PopupFrame

Popup to draw.

anchor Rectangle

Box to attach the frame to; likely a 0×0 rectangle at the mouse position for hover events, and the relevant focusBox for keyboard events.

Meta