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