X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=example;h=7cf6b15111ecee755463996772bece81ca484260;hb=9ab567c4ba2e3627372f9b39733297ac3df93fb4;hp=12c081f531a0cc67bd2fe89b86b54ea7b05ffd23;hpb=c0ebacd04869686866303d1431e0120c62b0fb59;p=chiark-tcl-applet.git diff --git a/example b/example index 12c081f..7cf6b15 100755 --- a/example +++ b/example @@ -6,11 +6,19 @@ # There is NO WARRANTY. # usage: -# xbatmon-simple-tray - -source applet.tcl -source subproc.tcl -source utils.tcl +# .../example program arguments... +# will run +# program arguments... WINDOWID +# and program sbould put up an X11 window as a child of WINDOWID +# +# eg, for a silly example: +# .../example xterm -id + +set lib . + +source $lib/applet.tcl +source $lib/subproc.tcl +source $lib/utils.tcl set debug::debug puts