FACT++  1.0
Widget put_selection ( int  tag,
char *  title 
)

Definition at line 3058 of file didMarkus.c.

References create_kill_confirmation(), create_node_selection(), create_send_command(), create_service_dialog(), create_service_selection(), DID_COMMAND, DID_KILL_ALL, DID_SEL_NODE, DID_SEL_SERVICE, DID_SERVICE, id, pop_widget_id, and set_title().

Referenced by dns_control(), get_server_node(), get_server_service(), and ok_pop_up().

3059 {
3060  Widget id = 0;
3061  extern void set_title();
3062 
3063  if(pop_widget_id[tag])
3064  {
3065  XtDestroyWidget(pop_widget_id[tag]);
3066  }
3067  switch(tag)
3068  {
3069  case DID_SEL_NODE:
3070  id = create_node_selection();
3071  break;
3072  case DID_SEL_SERVICE:
3073  id = create_service_selection();
3074  break;
3075  case DID_KILL_ALL:
3076  id = create_kill_confirmation();
3077  break;
3078  case DID_SERVICE:
3079  id = create_service_dialog();
3080  break;
3081  case DID_COMMAND:
3082  id = create_send_command();
3083  break;
3084  }
3085 
3086  pop_widget_id[tag] = id;
3087  XtManageChild(id);
3088  set_title(XtParent(id),title);
3089  return(id);
3090 }
Widget pop_widget_id[MAX_POP_UPS]
Definition: did.h:62
char id[4]
Definition: FITS.h:71
Widget create_kill_confirmation()
Definition: didMarkus.c:3209
void set_title(Widget w, char *title)
Definition: dui_util.c:283
Widget create_service_dialog()
Definition: didMarkus.c:3368
Widget create_service_selection()
Definition: didMarkus.c:3180
Widget create_send_command()
Definition: didMarkus.c:3191
Widget create_node_selection()
Definition: didMarkus.c:3172

+ Here is the call graph for this function:

+ Here is the caller graph for this function: