confirmPopupF :: Graphic msg => F msg (msg, ConfirmMsg) data ConfirmMsg = Confirm | Cancel instance Eq ConfirmMsg instance Ord ConfirmMsg instance Show ConfirmMsg
confirmPopupF
is a dialog popup that shows a message and waits for
the user to press a confirm or cancel button.
confirmPopupF
causes the window to appear on the screen.
Confirm
is output when the user presses the confirm button.
Cancel
is output when the user presses the cancel button. The
output is paired with the latest input.
The window disappears when one of the buttons is pressed.
confirmPopupF