FACT++  1.0
Widget put_popup ( SERVER servp,
int  type,
char *  title 
)

Definition at line 3028 of file didMarkus.c.

References activate_clients(), activate_services(), create_client_dialog(), create_server_dialog(), id, item::pop_widget_id, set_title(), and type.

Referenced by activate_clients(), and activate_services().

3029 {
3030  Widget id;
3032  extern void set_title();
3033 
3034  if(type)
3035  {
3036  id = create_client_dialog();
3037  /*
3038  XtAddCallback(id,XmNokCallback, activate_clients, servp);
3039  XtAddCallback(id,XmNcancelCallback, activate_clients, servp);
3040  */
3041  }
3042  else
3043  {
3044  id = create_server_dialog();
3045  /*
3046  XtAddCallback(id,XmNcancelCallback, activate_services, servp);
3047  */
3048  }
3049  servp->pop_widget_id[type] = id;
3050  /*
3051  }
3052  */
3053  XtManageChild(id);
3054  set_title(XtParent(id),title);
3055  return(id);
3056 }
void activate_clients(Widget w, SERVER *servp, unsigned long *reason)
Definition: didMarkus.c:2965
char id[4]
Definition: FITS.h:71
Widget create_client_dialog()
Definition: didMarkus.c:3155
void activate_services(Widget w, SERVER *servp, unsigned long *reason)
Definition: didMarkus.c:2718
void set_title(Widget w, char *title)
Definition: dui_util.c:283
Widget pop_widget_id[2]
Definition: did.h:48
int type
Widget create_server_dialog()
Definition: didMarkus.c:3163

+ Here is the call graph for this function:

+ Here is the caller graph for this function: