I know this can be done because Tkcon and ASED seem to do it. Never the less, I seem to be too thick to figure out how they do it.
Nevermind that it's a silly idea; that I should just use entry and label widgets, now I'm intrigued. The purpose is to have only a small proc that does a little dialog to get some data. For example, I have a program that reads a certain kind of file of data and does some math. I want a secret binding that allows me to build a data file (say, rightClick in a certain window). Then I don't want to have a whole big deal of widgets and geometry. I just want to take an existing text box and use it as STDIN/STDOUT to input variables (as if I were in a Tcl shell instead of a Tk shell).
Can it be done?
Bob Rashkin
rrashkin@csc.com
Nevermind that it's a silly idea; that I should just use entry and label widgets, now I'm intrigued. The purpose is to have only a small proc that does a little dialog to get some data. For example, I have a program that reads a certain kind of file of data and does some math. I want a secret binding that allows me to build a data file (say, rightClick in a certain window). Then I don't want to have a whole big deal of widgets and geometry. I just want to take an existing text box and use it as STDIN/STDOUT to input variables (as if I were in a Tcl shell instead of a Tk shell).
Can it be done?
Bob Rashkin
rrashkin@csc.com