In fact Tk executes your script first, then enters an events loop.
It's during a second step that you can interact with your widgets and activate the callbacks you binded in the first step.
So you define widgets, set callback scripts, set startup values in your 'initial' script.
HTH
ulis