set the prompt. This is used to put error information in the prompt */
| 233 | |
| 234 | /* set the prompt. This is used to put error information in the prompt */ |
| 235 | void |
| 236 | SetDialogPrompt(Widget w, String newprompt) |
| 237 | { |
| 238 | Arg args[1]; |
| 239 | Widget label; |
| 240 | |
| 241 | label = XtNameToWidget(w, "prompt"); |
| 242 | XtSetArg(args[0], nhStr(XtNlabel), newprompt); |
| 243 | XtSetValues(label, args, ONE); |
| 244 | } |
| 245 | |
| 246 | /* get what the user typed; caller must free the response */ |
| 247 | String |
no outgoing calls
no test coverage detected