1 #!/usr/bin/env gsi-script
5 ; Copyright (c) 1997-2007 by Marc Feeley, All Rights Reserved.
7 ; Translation into Scheme of Figure 16.2 from Chapter 16 of John
8 ; Ousterhout's "Tcl and the Tk Toolkit".
10 (include "tcltk#.scm") ; import Tcl/Tk procedures and variables
14 (label ".bitmap" bitmap: "@flagdown")
15 (label ".label" text: "No new mail")
17 (pack ".bitmap" ".label")
20 ; ==> Equivalent program in pure Tcl/Tk:
22 ; label .bitmap -bitmap @/usr/local/lib/tk/demos/bitmaps/flagdown
23 ; label .label -text "No new mail"