addPopup

Spawn a popup using OverlayIO.

This function can be used to add new popups, or to open them again after they have been closed.

@safe
void
addPopup

Parameters

overlayIO OverlayIO

OverlayIO instance to control to 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