From: Vince D. <vi...@sa...> - 2002-08-05 13:21:58
|
dbug_enter("PlPlotterKeyEH"); string = TkpGetString((TkWindow*)tkwin,eventPtr,&ds); pldebug("PlPlotterKeyEH", "Translation: %s\n", string); keysym = TkStringToKeysym(string); there are actually two functions which are problematic. I think the exact same effect can be accomplished in pure Tcl (8.3 or newer where 'event generate ... -warp exists), and that this function could be removed completely. Unfortunately it won't be just a couple of lines of Tcl, but not too bad. -- Vince <http://www.santafe.edu/~vince> On Mon, 5 Aug 2002, Maurice LeBrun wrote: > Maurice LeBrun writes: > > Maurice LeBrun writes: > > > I was also surprised to find the following dependencies with the tkwin stuff: > > > > > > gcc -fPIC -c -g -O -I. -I/home/mjl/gts/include -c plplotter.c -o > > > shared/plplotter.o > > > In file included from plplotter.c:276: > > > /home/mjl/gts/include/tkInt.h:27:20: tkPort.h: No such file or directory > > > /home/mjl/gts/include/tkInt.h:878:24: tkIntDecls.h: No such file or directory > > > > > > Ugh. More internal TK headers that I need to remember to install I see. > > > (I already have several non-standard ones installed, sigh.) > > > > After copying these two, now: > > > > In file included from /home/mjl/gts.tst/include/tkInt.h:27, > > from plplotter.c:276: > > /home/mjl/gts.tst/include/tkPort.h:32:39: ../unix/tkUnixPort.h: No such file or directory > > make[1]: *** [shared/plplotter.o] Error 1 > > > > tkUnixPort.h? This is getting pretty gross. Does anyone have a complete list > > of all the tk headers one needs to install? > > BTW just for future reference, the culprit in plplotter.c responsible for all > this nonsense is: > > PlPlotterKeyEH(ClientData clientData, register XEvent *eventPtr) > { > ... > string = TkpGetString((TkWindow*)tkwin,eventPtr,&ds); > > where TkWindow is defined in tkInt.h. > > So, is there really no workaround that goes through the public API? > > -- > Maurice LeBrun mj...@ga... > Research Organization for Information Science and Technology of Japan (RIST) > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |