bluetclbutton 228 B

1234567
  1. #!/usr/bin/wish
  2. button .b -text $argv -command exit -background blue
  3. label .lab -text [clock format [clock seconds] -format "%H:%M"] -background blue
  4. .lab configure -relief groove -borderwidth 2
  5. pack .b .lab -side top -fill x