示例#1
0
文件: Rgtk.c 项目: 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;
}
示例#2
0
文件: EventLoop.c 项目: yixuan/Layer
VOID CALLBACK R_gtk_timer_proc(HWND hwnd, UINT uMsg, UINT_PTR idEvent,
                               DWORD dwTime)
{
  R_gtk_eventHandler(NULL);
}
示例#3
0
文件: Rgtk.c 项目: hjy1210/RGtk2
void R_gtk_handle_events() {
  R_gtk_eventHandler(NULL);
}