ARGSUSED*/
| 56 | |
| 57 | /*ARGSUSED*/ |
| 58 | void |
| 59 | delete_text(Widget w, XEvent *event, String *params, Cardinal *num_params) |
| 60 | { |
| 61 | struct xwindow *wp; |
| 62 | struct text_info_t *text_info; |
| 63 | |
| 64 | nhUse(event); |
| 65 | nhUse(params); |
| 66 | nhUse(num_params); |
| 67 | |
| 68 | wp = find_widget(w); |
| 69 | text_info = wp->text_information; |
| 70 | |
| 71 | nh_XtPopdown(wp->popup); |
| 72 | |
| 73 | if (text_info->blocked) { |
| 74 | exit_x_event = TRUE; |
| 75 | } else if (text_info->destroy_on_ack) { |
| 76 | destroy_text_window(wp); |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | /* |
| 81 | * Callback used for all text windows. The window is popped down on any key |
nothing calls this directly
no test coverage detected