get the prompt from the dialog box. Used a startup time to * save away the initial prompt */
| 218 | /* get the prompt from the dialog box. Used a startup time to |
| 219 | * save away the initial prompt */ |
| 220 | String |
| 221 | GetDialogPrompt(Widget w) |
| 222 | { |
| 223 | Arg args[1]; |
| 224 | Widget label; |
| 225 | String s; |
| 226 | |
| 227 | label = XtNameToWidget(w, "prompt"); |
| 228 | XtSetArg(args[0], nhStr(XtNlabel), &s); |
| 229 | XtGetValues(label, args, ONE); |
| 230 | return XtNewString(s); |
| 231 | } |
| 232 | #endif |
| 233 | |
| 234 | /* set the prompt. This is used to put error information in the prompt */ |
nothing calls this directly
no outgoing calls
no test coverage detected