in reply to Tk::text input problem

you bind a variable to the widget..check help on bind