Re: Getting tkined to work.

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Thu, 19 Sep 1996 18:16:42 +0200

thomasb@austin.ibm.com (Thomas R. Benjamin ) said:

Thomas> I'm having the same problem on an RS6000/320 running AIX 4.1.4
Thomas> with tcl7.5 and tk4.1. I posted a note to the list, and will
Thomas> append Juergen's response.

So we have three reports now all coming from AIX machines. Someone out
there with this problem not running AIX?

Note, the icon bitmap (and a couple of other bitmaps) are defined in
the initialization procedure Tkined_Init() in the file tkiInit.c.
There are a couple of calls to Tk_DefineBitmap() and I do not see why
they seem to fail. Can someone please put some code into tkiInit.c to
check the return code of Tk_DefineBitmap(). Or just print out the
contents of interp->result after the call to Tk_DefineBitmap().
(However, my understanding of the implementation of Tk_DefineBitmap()
is that you only get an error if the bitmap is already defined. I am
getting a bit confused.)

BTW, the reason to define bitmaps in the C code is that they are used
as a fallback if there are not bitmap files available at run-time.

Juergen

--
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)