Allen,
     Many thanks for the mail. I actually have now a version of vtcl which
works with a limited set of blt and tix widgets. (I found the hooks and hung
things on them. ) The main problem was that the dump routines use the class of
widget converted to lowercase as the name of the widget creation command.
Stupidly the tix authors have things like the notebook widget which has class
TixNoteBook but is created using tixNoteBook. After a short look at the tix
code the general rule is to check if the widget class starts with Tix then
change the first character from T to t. There was a lot of other confusing
hacking required, for example when I saved to a file vtcl would save all the
tcl code which implements the tix widget as well as the one line which creates
it. I got around this last one by not dumping out a proc if its name starts
with tix, what a kluge. Anyway I have a partial implementation which is good
enough for now. I'll clean up the code and tell you where I put it so you can
see if there are any ideas you like. (one thing I did was to add compound
widgets to the toolbar)
     Regards,

                Graham

-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-<>-
Beware of geeks bearing gifs... ;^)    Tel:(757) 269-7030,http://alcor.jlab.org

Reply via email to