Example #1
0
void Signal_KillGraphicsProc(int i) {
  signal(SIGUSR1,SIG_IGN);
#ifdef Tcl75_Tk41
  Tcl_DoWhenIdle((Tcl_IdleProc*) C_KillGraphicsProc,(ClientData)NULL);
#endif
#ifdef Tcl74_Tk40
  Tk_DoWhenIdle((Tk_IdleProc*) C_KillGraphicsProc,(ClientData)NULL);
#endif
}
Example #2
0
static void
PaxWidget_RegisterUpdate(PaxWidget * paxwidget)
{
    if (!paxwidget->update_pending)
    {
	Tk_DoWhenIdle(PaxWidgetDisplay, (ClientData) paxwidget);
	paxwidget->update_pending = 1;
    }
}
Example #3
0
int C_RunProc()
{
  theRunFlag=TRUE;
#ifdef Tcl75_Tk41
    Tcl_DoWhenIdle(DoMain,(ClientData)NULL);
#endif
#ifdef Tcl74_Tk40
    Tk_DoWhenIdle(DoMain,(ClientData)NULL);
#endif
  return TCL_OK;
}
Example #4
0
int C_StepProc()
{
  if(theRunFlag==TRUE) {
    Tcl_Eval(interp,".lbframe.run invoke\n");
  }
#ifdef Tcl75_Tk41
    Tcl_DoWhenIdle(DoMain,(ClientData)NULL);
#endif
#ifdef Tcl74_Tk40
    Tk_DoWhenIdle(DoMain,(ClientData)NULL);
#endif
  return TCL_OK;
}
Example #5
0
void
restart_coroutines()
{
	Tk_DoWhenIdle( recv_event_proc, (ClientData) NULL );
}
Example #6
0
void XILWindowAssistor::handle_exposure_callback(ClientData cd, XEvent *) {
	//fprintf(stderr,"XILWindowAssistor::"__FUNCTION__"\n");
	Tk_DoWhenIdle(handle_exposure_idle, cd);
}