Annotation of capa/capa51/GUITools/menu.tcl, revision 1.4

1.4     ! albertel    1: #!/usr/bin/wish
1.1       albertel    2: set exelocation "/usr/local/bin"
                      3: set imglocation "/usr/local/lib/CAPA"
                      4: 
                      5: set env(PATH) "/usr/local/teTeX/bin:$env(PATH):/usr/local/bin/X11:/usr/local/bin"
                      6: foreach program {quizzer grader manager} {
                      7:  image create photo $program.bm -file $imglocation/$program.ppm
                      8:  button .$program -image $program.bm -command "exec $exelocation/$program &"
                      9:  pack .$program
                     10: }
1.4     ! albertel   11: button .passwd -text Password -command "exec userpasswd &"
        !            12: pack .passwd
        !            13: button .xterm -text XTerm -command "exec rxvt &"
        !            14: pack .xterm
        !            15: button .gedit -text GEdit -command "exec gedit &"
        !            16: pack .gedit
        !            17: button .quit -text Quit -command "exit"
        !            18: pack .quit
1.1       albertel   19: wm title . "Menu"
                     20: update idletasks
1.4     ! albertel   21: wm geometry . -0+20

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