Next: The prompt.c program Up: Dialogs Previous: Unwanted Dialog Buttons

The PromptDialog Widget

The PromptDialog allows the user to enter text.

We will typically need to set two resources of a PromptDialog widget.

- the prompt message.
- the default response string.

The function XmCreatePromptDialog() instantiates the Dialog.

Note: That a Prompt Dialog is based on the SelectionBox widget and so we must include <Xm\SelectioB.h>
Tue May 24 16:52:56 BST 1994