This module provides a simple ''dialog'' interface with an ''OK'' button and a ''Cancel'' button. The dialog itself is capable of embedding an arbitrary interface and it exposes ''accept'' and ''cancel'' events which are triggered by the dialog's buttons.
Create a new dialog with the specified embedded interface and
title. Returns the dialog itself and the
FocusGroup to which its
buttons were added, for use in your application.
Register an event handler for the dialog's acceptance event.
Register an event handler for the dialog's cancellation event.