From: Michael H. <mh...@al...> - 2010-10-21 04:45:59
|
On 10/20/2010 05:37 PM, Jan-Hendrik Hanne wrote: > Gnuplot.py works fine on my machine (Ubuntu). > My Python-Gui (gtk) opens a Gnuplot Window and updates the plots from > time to time. > Python can close the Gnuplot-Window by sending 'quit' to gnuplot. > If the user closes the Gnuplot-Window by clicking the X, the window will > appear again, when the plots are updated. > > Can a message (function call) be send from gnuplot to python, when the > window is closed or can python observe the gnuplot window? I don't know of a way to ask gnuplot to generate a notification that a window has been closed. Perhaps the Python program could use some windows manager trickery to detect the closing of the window. Michael -- Michael Haggerty mh...@al... http://softwareswirl.blogspot.com/ |