tclkit error on "image create photo"
Zbigniew Diaczyszyn <[email protected]> Thu, 10 Dec 2009 23:22:21 +0000 (UTC)
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
I am working with ActiveState Tcl/Tk 8.5.7. I tried Linux tclkit x86-Version
8.5.1 and Version 8.5.7 from http://www.patthoyts.tk/tclkit/linux-ix86/
My Test-Code is as follows:
-----------------------------------
set button [image create photo -data "
R0lGODlhFAASAKEBAC5Ecv///5sJCQAAACH5BAEAAAMALAAAAAAUABIAAAJCnI+pywoPowQIBDvj
rbnXAIaiSB1WIAhiSn5oqr7sZo52WBrnDPK03oMFZ7nB6TYq7mLBVk0Wg8WUSJuyk2lot9wCADs=
"]
wm title . "Password Gorilla"
wm iconname . "Gorilla"
wm iconphoto . $button
-----------------------------------
$ tclkit sdx.kit qwrap tclkit_test.tcl
5 updates applied
$ tclkit tclkit_test.kit
invalid command name "image"
while executing
"image create photo -data "
R0lGODlhFAASAKEBAC5Ecv///5sJCQAAACH5BAEAAAMALAAAAAAUABIAAAJCnI+pywoPowQIBDvj
rbnXAIaiSB1WIAhiSn5oqr7sZo52WBrnDPK03oMFZ7nB6T..."
invoked from within
"set button [image create photo -data "
wish 8.5.7 does not complain and is showing the icon without problems.
--
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en