[Tkinter-discuss] Tkinter with extension in C

2010-03-05 Thread Vasilis Vlachoudis
Hi all, I have an application that it requires to plot the result from some heavy calculation. Python is slow, so I am writing the calculation part as a C++ extension for python. Is it possible to draw directly to a Canvas opened from Tkinter from the C++ extension, in order to avoid useless

Re: [Tkinter-discuss] Tkinter with extension in C

2010-03-05 Thread Igor Novikov
Hi Vasilis! You can try using tkpath extension as an example of such drawing. But there is a simpler way. You can use regular Frame configured with empty background value: frame['background']='' Such frame option stops Tk frame refresh so your drawing will not be cleared after different window e