end_menu(window, prompt) -- Stop adding entries to the menu and flushes the window to the screen (brings to front?). Prompt is a prompt to give the user. If prompt is NULL, no prompt will be printed. ** This probably shouldn't flush the window any more (if ** it ever did). That should be sel
| 737 | ** it ever did). That should be select_menu's job. -dean |
| 738 | */ |
| 739 | void |
| 740 | gnome_end_menu(winid wid, const char *prompt) |
| 741 | { |
| 742 | if (wid != -1 && gnome_windowlist[wid].win != NULL) { |
| 743 | gtk_signal_emit(GTK_OBJECT(gnome_windowlist[wid].win), |
| 744 | ghack_signals[GHSIG_END_MENU], prompt); |
| 745 | } |
| 746 | } |
| 747 | |
| 748 | /* |
| 749 | int select_menu(windid window, int how, menu_item **selected) |
nothing calls this directly
no outgoing calls
no test coverage detected