[Tkinter-discuss] maybe like this? (was RE: How to get...)

Reiner M. Stoss rstoss at online.de
Mon Sep 4 15:53:17 CEST 2006


dib = ImageWin.Dib(...)
hdc = ImageWin.HDC(left_frame.winfo_id())
m.PaintPicture(hdc)
dib.expose(hdc)

All seems okay, however I do not know what to insert
for the "..."

If I use just:
hdc = ImageWin.HDC(left_frame.winfo_id())
m.PaintPicture(hdc)

then I get no error but the image does not appear on the
screen. So do I have to use the expose method to
make it appear? If so, how to define dib?

Reiner




More information about the Tkinter-discuss mailing list