variable

Specifies name of global variable to set whenever this button is selected. Changes in this variable also cause the button to select or deselect itself. Defaults to the value selectedButton.

(#<widget> 'configure #:variable (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)

© Author | Home | Sitemap