static void handle_sigterm(int signum) { fprintf(stderr,"terminate\n"); XtAppSetExitFlag( XtWidgetToApplicationContext(TopLevel) ); }
/****************************************************************************** ** Private Functions ******************************************************************************/ void quit_gui( Widget w, void *u, void *c ) { XtAppSetExitFlag( XtWidgetToApplicationContext(w) ); }
void quit_gui( Widget w, void *u, void *c ) { TRACE(1,"QUIT"); XtAppSetExitFlag( XtWidgetToApplicationContext(w) ); }
void GLXConfigurator::Exit() { XtAppSetExitFlag(appContext); }
static void wm_quit ( Widget w, XEvent *event, String *params, Cardinal *num_params ) { TRACE(1,"WM_QUIT"); XtAppSetExitFlag( XtWidgetToApplicationContext(w) ); }
/*ARGSUSED*/ void Quit(Widget w, XEvent * event, String * params, Cardinal * num_params) { XtAppSetExitFlag(XtWidgetToApplicationContext(w)); }
/* The callback function for the quit button. */ void quit_proc (Widget w, XtPointer client_data, XtPointer call_data) { XtDestroyApplicationContext (app_context); XtAppSetExitFlag (app_context); }