File:  [LON-CAPA] / capa / capa51 / GUITools / menu.tcl
Revision 1.3: download - view: text, annotated - select for diffs
Mon Aug 7 20:47:29 2000 UTC (23 years, 11 months ago) by albertel
Branches: MAIN
CVS tags: release_5-1-3, HEAD, CAPA_5-1-5, CAPA_5-1-4_RC1
- fixed license notices the reference the GNU GPL rather than the GNU LGPL

    1: #!/usr/local/bin/wish8.0
    2: # simple CAPA menu
    3: #  Copyright (C) 1992-2000 Michigan State University
    4: #
    5: #  The CAPA system is free software; you can redistribute it and/or
    6: #  modify it under the terms of the GNU General Public License as
    7: #  published by the Free Software Foundation; either version 2 of the
    8: #  License, or (at your option) any later version.
    9: #
   10: #  The CAPA system is distributed in the hope that it will be useful,
   11: #  but WITHOUT ANY WARRANTY; without even the implied warranty of
   12: #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   13: #  General Public License for more details.
   14: #
   15: #  You should have received a copy of the GNU General Public
   16: #  License along with the CAPA system; see the file COPYING.  If not,
   17: #  write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
   18: #  Boston, MA 02111-1307, USA.
   19: #
   20: #  As a special exception, you have permission to link this program
   21: #  with the TtH/TtM library and distribute executables, as long as you
   22: #  follow the requirements of the GNU GPL in regard to all of the
   23: #  software in the executable aside from TtH/TtM.
   24: 
   25: set exelocation "/usr/local/bin"
   26: set imglocation "/usr/local/lib/CAPA"
   27: 
   28: set env(PATH) "/usr/local/teTeX/bin:$env(PATH):/usr/local/bin/X11:/usr/local/bin"
   29: foreach program {quizzer grader manager} {
   30:  image create photo $program.bm -file $imglocation/$program.ppm
   31:  button .$program -image $program.bm -command "exec $exelocation/$program &"
   32:  pack .$program
   33: }
   34: wm title . "Menu"
   35: update idletasks
   36: wm geometry . -0+0

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>