Tix.IntVar.trace_variable

IntVar.trace_variable(mode, callback)

Define a trace callback for the variable.

MODE is one of “r”, “w”, “u” for read, write, undefine. CALLBACK must be a function which is called when the variable is read, written or undefined.

Return the name of the callback.