Description
This popup widget provides a way to get input from the user via a
transient window. The programmer specifies a prompt, and an optional
one-argument callback function - which will be called with the
entered text as its sole argument. When the user types [return] in
the entry widget, or presses the 'Okay' button, the popup window is
destroyed, and the callback function is called. If the user presses
the 'Dismiss' button, then the popup window is destroyed, and the
callback function is not called.