As said by Anonymous monk, just link it to same variable and you are done:
$t->Checkbutton(-text => 'Top',-variable => \$m)->pack(-side => 'left' +)})->pack();
In reply to Re: How to keep two checkbuttons in sync
by gurpreetsingh13
in thread How to keep two checkbuttons in sync
by ghosh123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |