listvariable |
||||
|
Specifies the name of a variable. The value of the variable is a list to be displayed inside the widget; if the variable value changes then the widget will automatically update itself to reflect the new value. (#<widget> 'configure #:listvariable (tk-var 'varname)) You can read Tk-Vars as follows: (get-tk-var 'varname) You can write Tk-Vars as follows: (set-tk-var! 'varname value) Attempts to assign a variable with an invalid list value to #:listvariable will cause an error. |