FACT++  1.0
void create_matrix_widget ( )

Definition at line 117 of file didMarkus.c.

References Curr_matrix, Matrix_id, MAX_NAME, sprintf(), and Window_id.

Referenced by gui_create_main_window().

118 {
119 Widget row_col_id, top_id;
120 Arg arglist[10];
121 int n = 0;
122 char w_name[MAX_NAME];
123 
124  top_id = Window_id;
125  XtSetArg(arglist[n], XmNborderWidth, 0); n++;
126  XtSetArg(arglist[n], XmNorientation, XmVERTICAL); n++;
127  XtSetArg(arglist[n], XmNnumColumns, 4); n++;
128  XtSetArg(arglist[n], XmNpacking, XmPACK_COLUMN); n++;
129  XtSetArg(arglist[n], XmNadjustLast, False); n++;
130  sprintf(w_name,"matrix_row");
131  row_col_id = XmCreateRowColumn(top_id,w_name,arglist,n);
132  XtManageChild(row_col_id);
133  Matrix_id[Curr_matrix] = row_col_id;
134  /*
135  XmScrolledWindowSetAreas(Window_id,NULL, NULL, Matrix_id);
136  */
137 }
#define MAX_NAME
Definition: dim.h:182
Widget Matrix_id[2]
Definition: did.h:57
Widget Window_id
Definition: did.h:61
int Curr_matrix
Definition: did.h:58
sprintf(name1,"NewService%d", i)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: