dislin interfaced with tkinter

Christopher T King squirrel at WPI.EDU
Tue Aug 3 21:30:19 CEST 2004


On Tue, 3 Aug 2004, Tom B. wrote:

> I haven't worked with Dislin/Tkinter but I have worked with Dislin/wxPython
> and what you can do is dump the Dislin output into a string buffer.
> 
> [code]

Building on that, the only change needed to use that with Tkinter would be 
to convert the Image object into a PhotoImage object using 
ImageTk.PhotoImage:

    self.Imagetest = ImageTk.PhotoImage(Image.open(StringIO.StringIO(char)))




More information about the Python-list mailing list