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