Hello, In v11160 I've added a stream_closed parameter. It is set to FALSE by calling plinit. Once it gets set to TRUE plcore will no longer call the driver dispatch functions. It will however still buffer the plot commands, etc, so in theory you should be able to get a complete replot even if the first plot was aborted.
I've changed the xcairo and xwin drivers to set this flag if their X window gets closed. If people are ok with this then I will go back and remove the xcairo driver specific closed flag. I think this way of doing things works with Tcl/Tk. We might consider using this flag for error handling instead of just exiting, which would make things easier for interactive PLplot use in languages like Perl, Python, Octave, etc. -Hazen ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel