Next: xmpulldownmenu, Previous: xmposition, Up: Internal Routines [Contents][Index]
xmprompt, string, default, call_back [,
modal_flag, font, color, ix, iy]
[motif package]
Creates a prompt widget with title prompt_popup
which contains: the string
, a text field containing the
default
text, an ok
button, and a Cancel
button. The widget is displayed in the specified font
and
color
(both strings), at the position indicated by
ix
and iy
(measured in pixels relative to the
upper left-hand corner of the root window).
The user can modify the text in the text field. When the user presses
the ok
or cancel
buttons, then the contents of the text
field are returned in the global variable $TEXTFIELD_value
, the
callback
string is executed, and the widget is removed.
See also: xmmessage