nanogui: I want Timer event
Re: [nanogui] I want Timer event
"Greg Haerr" ####@####.####
29 Sep 2001 23:52:39 -0000
: I want to use Timer event in my program, but there is no such a thing in
Nano-X. could you please tell me how to implement a timer mechnisam in nanox ?
The CVS Microwindows 0.89pre8 includes new timer functions,
GrCreateTimer and GrDestroyTimer, which send a
GR_EVENT_TYPE_TIMER when they tick off. Also, you can
use the GrGetNextEventTimeout in the main event loop.
: BTW, I ever try to use the SIGALRM to implement the timer but there is no
way to send such a event to the program!
: How to post a event to self ?
Currently, there's no round-trip method of arbitrarily
sending data, although you might try the GrSendClientData