gitkrhideshow.c

Go to the documentation of this file.
00001 
00012 #define GITK_RENDERER_C
00013 #define GITKR_HIDESHOW_C
00014 
00015 #include "gitkrincludes.h"
00016 
00022 void gitkr_dialog_show(GitkDialogPtr dialog) {
00023   gitk_log_intro();
00024 
00026   //-- depending on initial focus settings, set the respective default widget
00027   //switch(layout->focus) {
00028     //case GITK_FOCUS_TYPE_MAIN: gtk_widget_grab_default(layout->main.widgets[0]->impl);break;
00029     //case GITK_FOCUS_TYPE_CTRL: gtk_widget_grab_default(layout->ctrl.widgets[0]->impl);break;
00030     //default:
00031       //gitk_log1("unexpected default : %d",layout->focus);
00032   //}
00033   gitkr_render();
00034   gitk_log_outro();
00035 }
00036 
00042 void gitkr_dialog_hide(GitkDialogPtr dialog) {
00043   //GitkrGtkLayoutPtr layout;
00044 
00045   g_assert(dialog!=NULL);
00046   //g_assert(dialog->layout!=NULL);
00047 
00048   gitk_log_intro();
00049 
00050   //layout=(GitkrGtkLayoutPtr)dialog->layout;
00051   //gitk_log1("layout : %p",layout);
00052   //gitk_log2("layout->title : %p,\"%s\"",layout->title,gitk_save_get_string(layout->title));
00053 
00054   //g_assert(layout->window!=NULL);
00055   //gtk_widget_hide_all(GTK_WIDGET(layout->window));
00056 
00057   gitkr_dialog_free_layout(dialog);
00058   gitk_log_outro();
00059 }

Generated on Thu Oct 28 10:59:10 2004 for gitk by doxygen 1.3.6