> First, thanks for all those that have contributed to /vtcl/ ... useful!
>
> How much of the source code in the /vtcl/-managed file is "sacred".
> (I would guess that portions are assumed to always be there so that
> changes can be merged in, etc.)
>
> For example, can I replace the current "main" proc with:
>
> source mymain.tcl ?
>
> I'd like to have a way to separate the GUI code from the appl code.
>
> Thanks for your comments!
You should easily be able to separate the code. The main and init
procedures are there as guidelines, but you can replace them with any
content you wish. I do exactly what you're talking about all the time.
I put all of my GUI code into a file called windows.tcl and all my
application code into something like utils.tcl or common.tcl. Then,
in my init procuedure, I can just source the .tcl files as needed.
Damon
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user