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

Definition at line 3085 of file did.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().

3086 {
3087  Widget id;
3089  extern void set_title();
3090 
3091  if(type)
3092  {
3093  id = create_client_dialog();
3094  /*
3095  XtAddCallback(id,XmNokCallback, activate_clients, servp);
3096  XtAddCallback(id,XmNcancelCallback, activate_clients, servp);
3097  */
3098  }
3099  else
3100  {
3101  id = create_server_dialog();
3102  /*
3103  XtAddCallback(id,XmNcancelCallback, activate_services, servp);
3104  */
3105  }
3106  servp->pop_widget_id[type] = id;
3107  /*
3108  }
3109  */
3110  XtManageChild(id);
3111  set_title(XtParent(id),title);
3112  return(id);
3113 }
char id[4]
Definition: FITS.h:71
void set_title(Widget w, char *title)
Definition: dui_util.c:283
void activate_clients(Widget w, SERVER *servp, unsigned long *reason)
Definition: did.c:3018
Widget pop_widget_id[2]
Definition: did.h:48
int type
void activate_services(Widget w, SERVER *servp, unsigned long *reason)
Definition: did.c:2770
Widget create_server_dialog()
Definition: did.c:3224
Widget create_client_dialog()
Definition: did.c:3216

+ Here is the call graph for this function:

+ Here is the caller graph for this function: