ui/motif/window.c

changeset 27
77b09bb52ca0
parent 5
19d37cb9c96c
child 28
794a5c91c479
equal deleted inserted replaced
26:a137277f9173 27:77b09bb52ca0
78 toplevel, 78 toplevel,
79 wm_delete_window, 79 wm_delete_window,
80 window_close_handler, 80 window_close_handler,
81 obj); 81 obj);
82 82
83 // TODO: use callback
84 ui_set_active_window(toplevel);
85
83 // menu 86 // menu
84 Widget window = XtVaCreateManagedWidget( 87 Widget window = XtVaCreateManagedWidget(
85 title, 88 title,
86 xmMainWindowWidgetClass, 89 xmMainWindowWidgetClass,
87 toplevel, 90 toplevel,

mercurial