Posted to tcl by jeremy_c at Mon Feb 15 15:41:45 GMT 2010view raw
- package require Tk
- ttk::checkbutton .cb1 -text "Hello World"
- ttk::labelframe .lf1 -labelwidget .cb1
- ttk::entry .lf1.e1
- pack .lf1.e1 -fill x
- ttk::checkbutton .cb2 -text "Hello World"
- ttk::labelframe .lf2 -labelwidget .cb2
- ttk::entry .lf2.e2
- pack .lf2.e2 -fill x
- ttk::button .b1 -text Bye1 -command exit
- ttk::button .b2 -text Bye2 -command exit
- ttk::button .b3 -text Bye3 -command exit
- pack .lf1 .lf2 .b1 .b2 .b3 -fill x -expand yes
- focus -force .b1