87 xmMainWindowWidgetClass, |
88 xmMainWindowWidgetClass, |
88 toplevel, |
89 toplevel, |
89 NULL); |
90 NULL); |
90 obj->widget = window; |
91 obj->widget = window; |
91 ui_create_menubar(obj); |
92 ui_create_menubar(obj); |
|
93 |
|
94 // toolbar |
|
95 Widget form = XtVaCreateManagedWidget( |
|
96 "window_form", |
|
97 xmFormWidgetClass, |
|
98 window, |
|
99 NULL); |
|
100 |
|
101 ui_create_toolbar(obj, form); |
|
102 |
|
103 |
|
104 XtManageChild(form); |
92 |
105 |
93 obj->widget = toplevel; |
106 obj->widget = toplevel; |
94 nwindows++; |
107 nwindows++; |
95 return obj; |
108 return obj; |
96 } |
109 } |