forsyth20100310-1612977311516 years agoHistory
25 lines · 775 B · Text
RawDownload
.TH VARIABLE 9.SH NAMEvariable \- interrogate a button variable.SH SYNOPSIS\f5variable \fIvar\fR ?\fIvalue\fR?.SH DESCRIPTION.B Variablequeries or sets the value of a Tk radiobutton, checkbutton or choicebutton variable.An error diagnostic will be returned ifthe variable is of the wrong type (if for instanceit is the name of a named channel)..PPIf \fIvalue\fR is given, the value of the variable is setto that value, and any associated buttonswill subsequently reflect this in their appearance.Omitting the \fIvalue\fR argument returns the current value of the variable..PPThe special variable.B lasterrorholds the text of the last Tk error encountered.It resets when queried..SH SEE ALSO.IR checkbutton (9),.IR choicebutton (9),.IR radiobutton (9)