h8rt3rmin8r

example.tcl

Sep 2nd, 2018
530
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/tclsh
  2. package require Tk
  3. button .b -text {Greeting} -command {tk_messageBox -message {hello, world}}
  4. button .c -text {About} -command {tk_messageBox -message {This simple TCL program was created by h8rt3rmin8r on 20180902}}
  5. button .d -text {Documentation} -command {tk_messageBox -message {https://www.tcl.tk/man/tcl8.4/}}
  6. pack .b
  7. pack .c
  8. pack .d
RAW Paste Data