BLT 2.4 has some minor changes in regards to Image handling. for instance you can no longer carry our screen snapshots with the old
img = PhotoImage(name ="image", master=master)
g.snap(img) # take snapshot
img.write("file .gif") # and save it to file.
Images now default to ppm's. You need to force GIF output with the following
img = PhotoImage(name ="image",...
User Profile
Collapse
-
I use BLT running under Python 2.4.4. To get BLT to run I installed BLT to c:\program files \tcl using blt24z-for-tcl84.exe. I then copied the file pkgIndex.tcl from C:\Program Files\Tcl\lib\b lt2.4 into the Tcl8.4 folder at C:\Python24\tcl \tcl8.4Leave a comment:
No activity results to display
Show More
Leave a comment: