This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | AddNewMenu (Widget parent, Widget drawbox) |
| void AddNewMenu | ( | Widget | parent, | |
| Widget | drawbox | |||
| ) |
Definition at line 92 of file xwidgets.c.
References args, GraphicTestTab, i, menuButtonWidgetClass, MenuSelect(), n, name, NULL, simpleMenuWidgetClass, smeBSBObjectClass, XtNfromHoriz, and ZERO.
Referenced by AddNewWin().
00093 { 00094 Widget button,menu,entry; 00095 static Arg args[1] ; 00096 Cardinal n=0; 00097 int i=0; 00098 XtSetArg(args[n], XtNfromHoriz,drawbox ); n++; 00099 button = XtCreateManagedWidget("menuButton", menuButtonWidgetClass, parent, 00100 args,n); 00101 n=0; 00102 menu = XtCreatePopupShell("menu", simpleMenuWidgetClass, button,args,n); 00103 while ( GraphicTestTab[i].name != (char *) NULL) 00104 { 00105 entry= XtCreateManagedWidget(GraphicTestTab[i].name, smeBSBObjectClass, menu, 00106 args, ZERO); 00107 XtAddCallback(entry,XtNcallback,MenuSelect,(XtPointer) NULL); 00108 i++; 00109 } 00110 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.5.1