Tktable
Date: Thu, 29 Jul 2004 17:57:14 +0200
Hi all
I'm using a table (Tktable) in a tcl-script that is partially filled in by
the user (written in tcl) and where the results are calculated by a C++
program. I want to write this results in the same table. To avoid
intermediate variables I would like to write these results directly from
C++. I looked already in the header files and found a function appropriate
for the job
int TableSetCellValue (Table *tablePtr, int r, int c, char *value);
The only thing I can't figure out is how to get the appropriate
tablepointer.
Is there any function in tk to get this pointer using the tcl-windowpathname
of this table?
Thanks
Stefaan
Relevant Pages
- Re: Obstacles for Tcl/Tk commercial application development ?
... And once I put an integer into a variable in Tcl, it stays an integer until I assign something else to that variable. ... Usually, when I code, I know the language well enough to know what types the expressions return, so I don't wind up with the wrong types in variables. ... It takes a char* as the second argument, not a pointer to the structure you're trying to write out. ... If I expect my code to pass me an open file handle, and I pass that argument to and it throws, I'm going to catch that error at the top level, log the stack trace back, clean up, and restart the processing. ... (comp.lang.tcl) - ANN: Maybe package for handling unknown data
... I hereby present the "maybe" package for Tcl that provides complete support for handling missing/unknown data in much the same way as a NULL pointer does in C, ... (comp.lang.tcl) - Re: Why this fix work ?
... Now you have initialized all 64 bits of "myobj", ... So basically what you and Chris say is that after the TCL function ... TCL is that, the data is in memory, the interface passes an integer ... pointer to C code, that pointer points to the memory location of the ... (comp.lang.c) - Tcl 8.5 HP/UX Compiler warnings
... CVS access, and many packages don't have up to date release files, ... I encountered a bunch of warnings in the Tcl compilation step, ... incorrect argument type, pointer assignment incompatlible, illegal ... The C compiler is HP's optional ANSI C compiler. ... (comp.lang.tcl) - compiling with TCL_MEM_DEBUG
... In the realm of ftupid questions: I downloaded the source for tcl and tk, ... Wish crashes due to something in my extension. ... I'm now reading all the Tcl C command ... "It is passed back as a writable pointer so that extension author ... (comp.lang.tcl) |
|