예제 #1
0
static void MBCallback(t_x11 *x11,int dlg_mess,int item_id,
		       char *set,void *data)
{
  t_gmx *gmx;

  gmx=(t_gmx *)data;
  if (dlg_mess==DLG_EXIT) 
    hide_mb(gmx);
}
예제 #2
0
static void MBCallback(t_x11 * /*x11*/, int dlg_mess, int /*item_id*/,
                       char * /*set*/, void *data)
{
    t_gmx *gmx;

    gmx = (t_gmx *)data;
    if (dlg_mess == DLG_EXIT)
    {
        hide_mb(gmx);
    }
}
예제 #3
0
static void QuitCB(t_x11 *x11,int dlg_mess,int item_id,
		   char *set,void *data)
{
  t_gmx  *gmx;
  gmx=(t_gmx *)data;

  hide_mb(gmx);
  if (dlg_mess==DLG_EXIT) {
    if (strcasecmp("yes",set)==0) 
      write_gmx(x11,gmx,IDTERM);
  }
}