Thanks - I tried the alternative syntax, and that still gave me a bad path. It may be a limitation. The tk_getOpenFile seems to work. In this case - it's probably better to use something that works versus something that does not. I'll switch. Thanks.
I'm using IWIDGETS:EXTFILESELECTIONBOX to display a file selection dialog. When I attempt to access either a mounted volumn or a network drive, it does not traverse the directory volumn correctly. For example, if I specify under FILE the path c:/Tmp, everthing is what would be expected...
When using a message box as follows, the messages appear to only be written after the task (written in C++) finishes. Any hints on how to flush the messages written to the message box so the user becomes aware that the parent task is still executing, versus stuck in some permanent loop...
How do you escape a string value containing a dollar sign to avoid TCL attempting to treat it as a variable. I have some values that I'm filling a table or form with that begin with a $ such as $1I045, and I want to pass the value through directly without treating it as a variable.
I using the TCL Libraries to support cross-platform graphics display. On a printed circuit board, there can be thousands of line segments, creating an extensive display list. When zoomed in on the board and turning on the display for these objects, I wanted to ignore any of the objects outside...
I can get a canvas widget to honor a mouse event, but cannot get it to invoke a keyboard event. What I want to do is tie a function key <F4> to a zoom function in the canvas. But I cannot key a simple keypress or <F3> to work.
canvas $frame.worksp -width $cwidth -height $cheight \...
I'm able to execute a program such as Excel by:
set excelPath "C:/Program Files/Microsoft Office/Office/Excel.exe"
exec $excelPath $fileName &
But surely there is a better "standard practices" way to invoke a known executable such as IE6 web browser by executing a function with...
I have a main C++ program which interfaces to TCL. I can source a TCL file so long as it has an explicit file path which works well:
Tcl_EvalFile( interp, "c:/Software/emPackage.tcl" );
However, when I try to make it a little more location independent, it fails to locate the file...
Has anyone have an example or know how to used a C++ interface call passing a list to the C++ procedure and iterating through the list.
==== TCL CODE =======
set myList {21 22 23}
testCmd $myList
===== C++ CODE =======
int testCmd( ClientData clientData, Tcl_Interp *interp, int objc...
Does TCL support any rotated text feature such as standard 90,180 degree rotations. I was able to locate a reference to rotated text via the creation of an image and the rotation of the image. Are there any standard 90 degree rotated fonts or native capability outside of a rotated image.
Thanks - it works - here is a working template.
================================================
package require Iwidgets 4.0
source [file join [file dirname [info script]] loadtable.tcl]
# ----------------------------------------------------------------------
# tabnotebook in [incr Widgets]...
Thanks to "bong"'s help, I got the TkTable Widget within a tab notebook widget. Now the next problem appeared. When a cell is selected for text entry in the table, a pop up message appears - "Error: can't read "page": no such variable. Any ideas as to why the underlying editor can't find the...
I am trying to attach a TkTable to a different parent other than the top level widget. Specifically, I would like the TkTable to be attached to a page (Blank Page) within a TabeNoteBook widget. The TabNoteBook widget is created as follows, followed by the attachment of the TkTable widget. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.