<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div>2. find the function tk-format-now and monkey with the debug stuff so that any message to Tk with the word "bitmap" in it gets printed, and see if you can catch the output and post that.
</div></div></div></blockquote><div><br>I get:<br><br>tk> .f332.cv334 create bitmap 140 140 -bitmap "@\\0dev\\Celtk\\x1.xbm"<br> <br>That works. Then changing the name to something it will not find, I get:<br>
<br> Error: Tcl error: error reading bitmap file "\0dev\Celtk\xoxox1.xbm"<br><br>Here is my theory: the string does not look like a filename path to Tcl on Linux, so it looks for a /named/ bitmap. ie, yeah, tcl has a mechanism (perhaps only in the C api, I do not know) to associate an arbitrary name with a bitmap being loaded from a file. Then all your code just uses that name, and you only have to change the filename in one place to get everyone to use a different bitmap.
<br><br>Anyway, that would explain the "not defined" complaint. It also makes sense since you are (I might have warned you earlier) the first Linux user.<br><br>The bad news is that I am also ignorant of Linux. :)
<br><br>hth, kenny<br><br></div></div>