Return true if drawing should be terminated. Also it process all events in GUI. User should call this function from time to time inside a long calculation to allow processing events for GUI.
Method on mglGraph: boolSetEventFunc(void (*func)(void *), void *par=NULL) ¶
C function only: voidmgl_set_event_func(HMGL gr, void (*func)(void *), void *par) ¶
Set callback function which will be called to process events of GUI library.