q dialog
Launches a dialog box widget that prompts for text or numeric data entry and also provides editing of an input text or value. Returns the text entered by the user.
x X-coordinate of diaglog box centery Y-coordinate of diaglog box centerw width of diaglog boxh width of diaglog boxThere are two options for the formatting of dialog_text:
prompt
Enter value for PI:"). If dialog_textcontains only a prompt, then the dialog box appears with the prompt and an empty entry point.
prompt | initial_stringprompt / initial_string
dialog_textcontains a prompt and an initial string separated by a vertical bar or a backslash (e.g., "Enter value for PI: | 3.14159" or "Enter value for PI: / 3.14159"). The dialog box appears with the prompt and the editable initial string at the entry point.
dialog_text.
set dialog refrence page for details on controlling the color properties of the dialog box widget.
set dialog 1 0 5 1 6 q dialog Hello World say result