Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I default a checkbutton to be "checked"?

Status
Not open for further replies.

mucklow

Programmer
May 22, 2001
40
US
Is there a way to default a checkbutton to be checked initially?

Something like:

checkbutton $w.b1 -text "test" -variable whatever -relief raised and I'm looking for -initial_value checked

or something like that. Any ideas? Nothing has worked so far.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top