void hide_win0() { #if WIN32 if (test_mode) return; #endif if (!gwin0) return; #if WIN32 if (timeout_handle) { g_source_remove(timeout_handle); timeout_handle = 0; } #endif gtk_widget_hide(gwin0); if (destroy_window) destroy_win0(); else destroy_top_bin(); hide_selections_win(); hide_win_sym(); }
void destroy_win0() { if (!gwin0) return; destroy_top_bin(); gtk_widget_destroy(gwin0); gwin0 = NULL; }
void destroy_win_gtab() { if (!gwin_gtab) return; destroy_top_bin(); gtk_widget_destroy(gwin_gtab); gwin_gtab = NULL; }
void hide_win0() { if (!gwin0) return; gtk_widget_hide(gwin0); if (destroy_window) destroy_win0(); else destroy_top_bin(); hide_selections_win(); hide_win_sym(); }
void hide_win_gtab() { win_gtab_max_key_press = 0; if (!gwin_gtab) return; // dbg("hide_win_gtab\n"); if (gwin_gtab) { if (destroy_window) destroy_win_gtab(); else { gtk_widget_hide(gwin_gtab); destroy_top_bin(); } } close_gtab_pho_win(); hide_win_sym(); hide_win_kbm(); }