Tk Library Source Code

Artifact [214415b5a9]
Login

Artifact 214415b5a96ce390452d36158f6ad9faf8aea2ef:

Attachment "patch-examples_controlwidget_demo-meters_tcl" to ticket [bac1ff5030] added by stwo 2013-09-18 16:05:53.
$OpenBSD$
--- examples/controlwidget/demo-meters.tcl.orig	Tue Jul 30 11:13:32 2013
+++ examples/controlwidget/demo-meters.tcl	Tue Jul 30 11:14:39 2013
@@ -1,3 +1,9 @@
+#! /bin/sh
+# The next line restarts with tclsh \
+exec tclsh "$0" ${1+"$@"}
+
+package require Tk
+
 # demo-meters.tcl --
 #     Straightforward demonstration of various meters