Exemplo n.º 1
0
Arquivo: Rgtk.c Projeto: hjy1210/RGtk2
void R_gtk_timerInputHandler(void *userData) {
  gchar buf[16];
  //Rprintf("Input handler hit\n");
  if (!read(ifd, buf, 16))
    g_critical("Input handler failed to read from pipe");
  //Rprintf("Handling events\n");
  R_gtk_eventHandler(NULL);
  //Rprintf("Events handled\n");
  fired = 0;
}
Exemplo n.º 2
0
VOID CALLBACK R_gtk_timer_proc(HWND hwnd, UINT uMsg, UINT_PTR idEvent,
                               DWORD dwTime)
{
  R_gtk_eventHandler(NULL);
}
Exemplo n.º 3
0
Arquivo: Rgtk.c Projeto: hjy1210/RGtk2
void R_gtk_handle_events() {
  R_gtk_eventHandler(NULL);
}