/[ascend]/trunk/tcltk/TK/browser.tcl
ViewVC logotype

Annotation of /trunk/tcltk/TK/browser.tcl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 659 - (hide annotations) (download) (as text)
Sun Jun 4 20:01:04 2006 UTC (16 years, 9 months ago) by ben.allan
File MIME type: text/x-tcl
File size: 19860 byte(s)
added File->Open everywhere equivalent to File->Read ...  to resolve pye request.
At a 1.0 release of tcltk, we should consider getting rid of
the file reads, but not before. existing users have muscle memories
that are not to be toyed with.
1 johnpye 571 # browser.tcl
2     # by Benjamin A. Allan and Kirk A. Abbott
3     # Created: January 1994
4     # Part of ASCEND
5     # Revision: $Revision: 1.43 $
6     # Last modified on: $Date: 1998/06/18 15:55:20 $
7     # Last modified by: $Author: mthomas $
8     # Revision control file: $RCSfile: browser.tcl,v $
9     #
10     # This file is part of the ASCEND Tcl/Tk Interface.
11     #
12     # Copyright (C) 1994-1998 Carnegie Mellon University
13     #
14     # The ASCEND Tcl/Tk Interface is free software; you can redistribute
15     # it and/or modify it under the terms of the GNU General Public
16     # License as published by the Free Software Foundation; either
17     # version 2 of the License, or (at your option) any later version.
18     #
19     # The ASCEND Tcl/Tk Interface is distributed in hope that it will be
20     # useful, but WITHOUT ANY WARRANTY; without even the implied warranty
21     # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22     # GNU General Public License for more details.
23     #
24     # You should have received a copy of the GNU General Public License
25     # along with the program; if not, write to the Free Software
26     # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the
27     # file named COPYING. COPYING is found in ../compiler.
28    
29     # Module: browser.tcl
30     # Tcl version: 7.1 (Tcl/Tk/XF)
31     # Tk version: 3.4
32     # XF version: 2.2
33     #
34    
35     # module contents
36     global moduleList
37     global autoLoadList
38     set moduleList(browser.tcl) { .browser}
39     set autoLoadList(browser.tcl) {0}
40    
41     # procedures to show toplevel windows
42    
43    
44     # procedure to show window ShowWindow.browser
45     proc ShowWindow.browser { args} { # xf ignore me 7
46    
47     global ascBrowVect ascGlobalVect
48     StartupSrc.browser
49    
50     # build widget .browser
51     if {"[info procs XFEdit]" != ""} {
52     catch "XFDestroy .browser"
53     } {
54     catch "destroy .browser"
55     }
56     toplevel .browser
57    
58     # Window manager configurations
59     wm iconify .browser
60     wm positionfrom .browser user
61     wm sizefrom .browser user
62     wm iconname .browser {Browser}
63     wm minsize .browser 100 100
64     wm title .browser {A4 Browser}
65     wm protocol .browser WM_DELETE_WINDOW {Toggle_Remote ascBrowVect}
66    
67    
68     # build widget .browser.main_frm
69     frame .browser.main_frm
70    
71     # build widget .browser.main_frm.child_box
72     frame .browser.main_frm.child_box
73    
74     # build widget .browser.main_frm.child_box.scrollbar2
75     scrollbar .browser.main_frm.child_box.scrollbar2 \
76     -command {.browser.main_frm.child_box.listbox1 yview}
77    
78     # build widget .browser.main_frm.child_box.scrollbar3
79     scrollbar .browser.main_frm.child_box.scrollbar3 \
80     -command {.browser.main_frm.child_box.listbox1 xview} \
81     -orient {horizontal}
82    
83     # build widget .browser.main_frm.child_box.listbox1
84     listbox .browser.main_frm.child_box.listbox1 \
85     -relief {raised} \
86     -xscrollcommand {.browser.main_frm.child_box.scrollbar3 set} \
87     -yscrollcommand {.browser.main_frm.child_box.scrollbar2 set} \
88     -font $ascBrowVect(font) \
89     -width 18 \
90     -height 2 \
91     -exportselection 0
92    
93    
94     # pack widget .browser.main_frm.child_box
95     pack append .browser.main_frm.child_box \
96     .browser.main_frm.child_box.scrollbar2 {right frame center filly} \
97     .browser.main_frm.child_box.listbox1 {top frame center expand fill} \
98     .browser.main_frm.child_box.scrollbar3 {bottom frame center fillx}
99    
100     # build widget .browser.main_frm.parents_box
101     frame .browser.main_frm.parents_box
102    
103     # build widget .browser.main_frm.parents_box.scrollbar2
104     scrollbar .browser.main_frm.parents_box.scrollbar2 \
105     -command {.browser.main_frm.parents_box.listbox1 yview}
106    
107     # build widget .browser.main_frm.parents_box.scrollbar3
108     scrollbar .browser.main_frm.parents_box.scrollbar3 \
109     -command {.browser.main_frm.parents_box.listbox1 xview} \
110     -orient {horizontal}
111    
112     # build widget .browser.main_frm.parents_box.listbox1
113     listbox .browser.main_frm.parents_box.listbox1\
114     -relief {raised} \
115     -xscrollcommand {.browser.main_frm.parents_box.scrollbar3 set} \
116     -yscrollcommand {.browser.main_frm.parents_box.scrollbar2 set} \
117     -font $ascBrowVect(font) \
118     -width 12 \
119     -height 2
120    
121     # pack widget .browser.main_frm.parents_box
122     pack append .browser.main_frm.parents_box \
123     .browser.main_frm.parents_box.scrollbar2 {left frame center filly} \
124     .browser.main_frm.parents_box.listbox1 {top frame center expand fill} \
125     .browser.main_frm.parents_box.scrollbar3 {bottom frame center fillx}
126    
127     # pack widget .browser.main_frm
128     pack append .browser.main_frm \
129     .browser.main_frm.parents_box {left frame center filly} \
130     .browser.main_frm.child_box {left frame center expand fill}
131    
132    
133     # build widget .browser.local_frm
134     frame .browser.local_frm
135    
136     # build widget .browser.local_frm.child_box
137     frame .browser.local_frm.child_box
138    
139     # build widget .browser.local_frm.child_box.scrollbar2
140     scrollbar .browser.local_frm.child_box.scrollbar2 \
141     -command {.browser.local_frm.child_box.listbox1 yview}
142    
143     # build widget .browser.local_frm.child_box.scrollbar3
144     scrollbar .browser.local_frm.child_box.scrollbar3 \
145     -command {.browser.local_frm.child_box.listbox1 xview} \
146     -orient {horizontal}
147    
148     # build widget .browser.local_frm.child_box.listbox1
149     listbox .browser.local_frm.child_box.listbox1 \
150     -relief {raised} \
151     -xscrollcommand {.browser.local_frm.child_box.scrollbar3 set} \
152     -yscrollcommand {.browser.local_frm.child_box.scrollbar2 set} \
153     -font $ascBrowVect(font) \
154     -width 18 \
155     -height 2 \
156     -exportselection 0
157    
158    
159     # pack widget .browser.local_frm.child_box
160     pack append .browser.local_frm.child_box \
161     .browser.local_frm.child_box.scrollbar2 {right frame center filly} \
162     .browser.local_frm.child_box.listbox1 {top frame center expand fill} \
163     .browser.local_frm.child_box.scrollbar3 {bottom frame center fillx}
164    
165     # build widget .browser.local_frm.check_box
166     frame .browser.local_frm.check_box
167    
168     set rr .browser.local_frm.check_box
169    
170     # The command option of these checkbuttons is ugly.
171     # should instead of passing an arg, just use the traces
172     # on ascBrowVect(localshow,*) to set a (lasttoggled) value
173     # so that Brow_do_UpdateLocalBox doesn't need an argument.
174    
175     # build rr.b1
176     checkbutton $rr.b1 \
177     -variable ascBrowVect(localshow,REAL_ATOM_INST) \
178     -command {Brow_do_UpdateLocalBox REAL_ATOM_INST} \
179     -text RV
180    
181     # build rr.b2
182     checkbutton $rr.b2 \
183     -variable ascBrowVect(localshow,INTEGER_ATOM_INST) \
184     -command {Brow_do_UpdateLocalBox INTEGER_ATOM_INST} \
185     -text DV
186    
187     # build rr.b3
188     checkbutton $rr.b3 \
189     -variable ascBrowVect(localshow,REL_INST) \
190     -command {Brow_do_UpdateLocalBox REL_INST} \
191     -text RR
192    
193     # build rr.b4
194     checkbutton $rr.b4 \
195     -variable ascBrowVect(localshow,LREL_INST) \
196     -command {Brow_do_UpdateLocalBox LREL_INST} \
197     -text LR
198    
199     # build rr.b5
200     checkbutton $rr.b5 \
201     -variable ascBrowVect(localshow,REAL_CONSTANT_INST) \
202     -command {Brow_do_UpdateLocalBox REAL_CONSTANT_INST} \
203     -text RC
204    
205     # build rr.b6
206     checkbutton $rr.b6 \
207     -variable ascBrowVect(localshow,SET_ATOM_INST) \
208     -command {Brow_do_UpdateLocalBox SET_ATOM_INST} \
209     -text DC
210    
211     # build rr.label
212     label $rr.label \
213     -textvariable ascBrowVect(locallabel) \
214     -justify right
215    
216     # pack widget .browser.local_frm.check_box
217     pack append .browser.local_frm.check_box \
218     $rr.b1 {left frame center fill} \
219     $rr.b2 {left frame center fill} \
220     $rr.b3 {left frame center fill} \
221     $rr.b4 {left frame center fill} \
222     $rr.b5 {left frame center fill} \
223     $rr.b6 {left frame center fill} \
224     $rr.label {left frame center expand fill}
225    
226     # pack widget .browser.main_frm
227     pack append .browser.local_frm \
228     .browser.local_frm.child_box {top frame center expand fill} \
229     .browser.local_frm.check_box {top frame center fill}
230    
231     #
232     # Build the menu bar and submenus
233     #
234     menu .browser.menubar \
235     -tearoffcommand .BROWSER.MENUBAR \
236     -tearoff 0
237    
238     # The Display menu
239     menu .browser.menubar.display \
240     -tearoffcommand .BROWSER.MENUBAR.DISPLAY \
241     -tearoff 0
242     .browser.menubar.display add command \
243     -command {Brow_do_DispAttr} \
244     -label {Attributes} \
245     -accelerator {Alt-d a} \
246     -underline 0
247     .browser.menubar.display add command \
248     -command {Brow_do_DispRelations} \
249     -label {Relations} \
250     -accelerator {Alt-d r} \
251     -underline 0
252     .browser.menubar.display add command \
253     -command {Brow_do_DispCondRels} \
254     -label {Conditional Relations} \
255     -accelerator {Alt-d c} \
256     -underline 0
257     .browser.menubar.display add command \
258     -command {Brow_do_DispLogRels} \
259     -label {Logical Relations} \
260     -accelerator {Alt-d l} \
261     -underline 0
262     .browser.menubar.display add command \
263     -command {Brow_do_DispCondLogRels} \
264     -label {Conditional Logical Relations} \
265     -accelerator {Alt-d o} \
266     -underline 1
267     .browser.menubar.display add command \
268     -command {Brow_do_DispWhens} \
269     -label {Whens} \
270     -accelerator {Alt-d w} \
271     -underline 0
272     .browser.menubar.display add separator
273     .browser.menubar.display add command \
274     -command {Brow_do_Plot} \
275     -accelerator {Alt-d p} \
276     -label {Plot} \
277     -underline 0
278     .browser.menubar.display add command \
279     -command {Brow_do_Statistics} \
280     -accelerator {Alt-d s} \
281     -label {Statistics} \
282     -underline 0
283    
284     # The File menu
285     menu .browser.menubar.file \
286     -tearoffcommand .BROWSER.MENUBAR.FILE \
287     -tearoff 0
288     .browser.menubar.file add command \
289     -command {Brow_do_Write} \
290     -label {Write values...} \
291     -accelerator {Alt-f w} \
292     -underline 0
293     .browser.menubar.file add command \
294     -command {Brow_do_Read} \
295     -label {Read values...} \
296     -accelerator {Alt-f r} \
297     -underline 0
298 ben.allan 659 .browser.menubar.file add command \
299     -command {Brow_do_Read} \
300     -label {Open values...} \
301     -accelerator {Alt-f o} \
302     -underline 0
303 johnpye 571 .browser.menubar.file add separator
304     .browser.menubar.file add command \
305     -command {Toggle_Remote ascBrowVect} \
306     -accelerator {Alt-f c} \
307     -label {Close window} \
308     -underline 0
309     .browser.menubar.file add command \
310     -command {Script_do_Exit} \
311     -accelerator {Alt-f e} \
312     -label {Exit ASCEND...} \
313     -underline 0
314    
315     # The Edit menu
316     menu .browser.menubar.edit \
317     -tearoffcommand .BROWSER.MENUBAR.EDIT \
318     -tearoff 0
319     .browser.menubar.edit add command \
320     -command {Browser_do_Methods} \
321     -label {Run method...} \
322     -accelerator {Alt-e u} \
323     -underline 1
324     .browser.menubar.edit add command \
325     -command {Browser_do_ClearVars} \
326     -accelerator {Alt-e c} \
327     -label {Clear Vars} \
328     -underline 0
329     .browser.menubar.edit add separator
330     .browser.menubar.edit add command \
331     -command {Browser_do_SetValue} \
332     -accelerator {Alt-e v} \
333     -label {Set value...} \
334     -underline 4
335     # -command {Brow_do_ParentsSetValue}
336     .browser.menubar.edit add command \
337     -command {Browser_do_Refine} \
338     -accelerator {Alt-e r} \
339     -label {Refine...} \
340     -underline 0
341     .browser.menubar.edit add command \
342     -command {Browser_do_Merge} \
343     -accelerator {Alt-e m} \
344     -label {Merge...} \
345     -underline 0
346     .browser.menubar.edit add separator
347     .browser.menubar.edit add cascade \
348     -label {Compile} \
349     -menu {.browser.menubar.edit.compile}
350    
351     # build widget .browser.menubar.edit.compile
352     menu .browser.menubar.edit.compile \
353     -tearoffcommand .BROWSER.MENUBAR.EDIT.COMPILE \
354     -tearoff 0
355     .browser.menubar.edit.compile add command \
356     -command {Browser_do_Resume} \
357     -accelerator {F5} \
358     -underline -1 \
359     -label {Resume Compilation}
360     .browser.menubar.edit.compile add command \
361     -command {Browser_do_CreatePart} \
362     -label {Create Part} \
363     -state disabled
364    
365    
366     # The Export menu
367     menu .browser.menubar.export \
368     -tearoffcommand .BROWSER.MENUBAR.EXPORT \
369     -tearoff 0
370     .browser.menubar.export add command \
371     -command {Brow_do_Export2Solver} \
372     -label {to Solver} \
373     -accelerator {Alt-x s} \
374     -underline 3
375     .browser.menubar.export add command \
376     -command {Brow_do_Export2Probe} \
377     -label {Many to Probe ...} \
378     -accelerator {Alt-x m} \
379     -underline 0
380     .browser.menubar.export add command \
381     -command {Brow_do_ExportOne2Probe} \
382     -accelerator {Alt-x p} \
383     -label {Item to Probe} \
384     -underline 8
385    
386    
387     # The Find menu
388     menu .browser.menubar.find \
389     -tearoffcommand .BROWSER.MENUBAR.FIND \
390     -tearoff 0
391     .browser.menubar.find add command \
392     -command {Brow_do_FindbyName} \
393     -label {By name...} \
394     -accelerator {Alt-i n} \
395     -underline 3
396     .browser.menubar.find add command \
397     -command {Brow_do_FindbyType} \
398     -label {By type...} \
399     -accelerator {Alt-i t} \
400     -underline 3
401     .browser.menubar.find add command \
402     -command {Brow_do_FindAliases} \
403     -label {Aliases} \
404     -accelerator {Alt-i a} \
405     -underline 0
406     .browser.menubar.find add command \
407     -command {Brow_do_FindISAs} \
408     -label {Where created} \
409     -accelerator {Alt-i w} \
410     -underline 0
411     .browser.menubar.find add command \
412     -command {Brow_do_FindClique} \
413     -accelerator {Alt-i c} \
414     -label {Clique} \
415     -underline 0
416     .browser.menubar.find add command \
417     -command {Brow_do_FindEligible} \
418     -label {Eligible variables} \
419     -accelerator {Alt-i e} \
420     -underline 0
421     .browser.menubar.find add command \
422     -command {Brow_do_FindActive} \
423     -label {Active relations} \
424     -accelerator {Alt-i r} \
425     -underline 7
426     .browser.menubar.find add command \
427     -command {Brow_do_FindOpers} \
428     -label {Operands} \
429     -accelerator {Alt-i o} \
430     -underline 0
431     .browser.menubar.find add command \
432     -command {Brow_do_FindParents} \
433     -label {Parents} \
434     -accelerator {Alt-i p} \
435     -underline 0
436     .browser.menubar.find add command \
437     -command {Brow_do_FindPendings} \
438     -label {Pendings} \
439     -accelerator {Alt-i d} \
440     -underline 3
441    
442    
443     # The Help menu
444     menu .browser.menubar.help \
445     -tearoffcommand .BROWSER.MENUBAR.HELP \
446     -tearoff 0
447     .browser.menubar.help add command \
448     -command {Brow_do_Help} \
449     -label {On Browser} \
450     -underline 3
451    
452    
453     # The Options menu
454     menu .browser.menubar.options \
455     -tearoffcommand .BROWSER.MENUBAR.options \
456     -tearoff 0
457     .browser.menubar.options add checkbutton \
458     -command {Brow_do_TypeorValue} \
459     -offvalue {PASSED} \
460     -onvalue {} \
461     -variable {ascBrowVect(HidePassed)} \
462     -accelerator {Alt-o p} \
463     -underline 5 \
464     -label {Hide Passed Parts}
465     .browser.menubar.options add checkbutton \
466     -command {Brow_do_TypeorValue} \
467     -offvalue ATOMS \
468     -onvalue {} \
469     -variable {ascBrowVect(ShowAtoms)} \
470     -accelerator {Alt-o a} \
471     -underline 9 \
472     -label {Suppress atoms}
473     .browser.menubar.options add checkbutton \
474     -command {Brow_do_TypeorValue} \
475     -offvalue {TYPE} \
476     -onvalue {VALUE} \
477     -variable {ascBrowVect(TypeorValue)} \
478     -accelerator {Alt-o v} \
479     -underline 13 \
480     -label {Display Atom Values}
481     .browser.menubar.options add checkbutton \
482     -offvalue {0} \
483     -onvalue {1} \
484     -variable {ascBrowVect(dimconsistency)} \
485     -accelerator {Alt-o d} \
486     -underline 6 \
487     -label {Check dimensionality}
488     .browser.menubar.options add command \
489     -command {Brow_do_SaveOptions} \
490     -label {Save options} \
491     -accelerator {Alt-o s} \
492     -underline 0
493     .browser.menubar.options add separator
494     .browser.menubar.options add command \
495     -command {Brow_do_HideNames} \
496     -label {Hide names...} \
497     -accelerator {Alt-o h} \
498     -underline 0
499     .browser.menubar.options add command \
500     -command {Brow_do_UnHideNames} \
501     -accelerator {Alt-o u} \
502     -label {Unhide names...} \
503     -underline 0
504    
505     # The View menu
506     menu .browser.menubar.view \
507     -tearoffcommand .BROWSER.MENUBAR.VIEW \
508     -tearoff 0
509     .browser.menubar.view add command \
510     -command {Brow_do_Font} \
511     -label {Font ...} \
512     -accelerator {Alt-v f} \
513     -underline 0
514     .browser.menubar.view add checkbutton \
515     -offvalue {0} \
516     -onvalue {1} \
517     -variable {ascBrowVect(visibility)} \
518     -label {Open automatically} \
519     -accelerator {Alt-v o} \
520     -underline 0
521     .browser.menubar.view add command \
522     -command {View_Set_Save_Options browser} \
523     -label {Save window appearance} \
524     -accelerator {Alt-v s} \
525     -underline 0
526    
527     #
528     # Add the menus as cascades of the toplevel's menu;
529     # add the toplevel's menu to the toplevel
530     #
531     .browser.menubar add cascade \
532     -menu .browser.menubar.file \
533     -label {File} \
534     -underline 0
535     .browser.menubar add cascade \
536     -menu .browser.menubar.edit \
537     -label {Edit} \
538     -underline 0
539     .browser.menubar add cascade \
540     -menu .browser.menubar.display \
541     -label {Display} \
542     -underline 0
543     .browser.menubar add cascade \
544     -menu .browser.menubar.find \
545     -label {Find} \
546     -underline 1
547     .browser.menubar add cascade \
548     -menu .browser.menubar.options \
549     -label {Options} \
550     -underline 0
551     .browser.menubar add cascade \
552     -menu .browser.menubar.view \
553     -label {View} \
554     -underline 0
555     .browser.menubar add cascade \
556     -menu .browser.menubar.export \
557     -label {Export} \
558     -underline 1
559     .browser.menubar add cascade \
560     -menu .browser.menubar.help \
561     -label {Help} \
562     -underline 0
563     .browser configure \
564     -menu .browser.menubar
565    
566    
567     #
568     # Add the main frame to the browser toplevel
569     #
570     pack append .browser \
571     .browser.main_frm {top frame center expand fill} \
572     .browser.local_frm {top frame center expand fill}
573    
574     EndSrc.browser
575    
576     if {"[info procs XFEdit]" != ""} {
577     catch "XFMiscBindWidgetTree .browser"
578     after 2 "catch {XFEditSetShowWindows}"
579     }
580     }
581    
582     # proc DestroyWindow.browser {}
583     proc DestroyWindow.browser {} {# xf ignore me 7
584     if {"[info procs XFEdit]" != ""} {
585     if {"[info commands .browser]" != ""} {
586     global xfShowWindow.browser
587     set xfShowWindow.browser 0
588     XFEditSetPath .
589     after 2 "XFSaveAsProc .browser; XFEditSetShowWindows"
590     }
591     } {
592     catch "destroy .browser"
593     update
594     }
595     }
596    
597     # proc StartupSrc.browser {args}
598     proc StartupSrc.browser {args} {
599     # browser startup entrance
600     global ascBrowVect ascGlobalVect env
601     if {[catch {set ascBrowVect(windowname)} ]} {
602     set ascBrowVect(minsize) 100x100
603     set ascBrowVect(geometry) 200x400+10+10
604     set ascBrowVect(iconname) Browser
605     set ascBrowVect(initialstate) normal
606     set ascBrowVect(font) "-*-*"
607     }
608     if {[catch {set ascGlobalVect(font)} ]} {
609     set ascGlobalVect(font) "-*-*"
610     set ascGlobalVect(labelfont) "-*-*"
611     set ascGlobalVect(tbg) "white"
612     set ascGlobalVect(tfg) "black"
613     set ascGlobalVect(bg) "white"
614     set ascGlobalVect(fg) "black"
615     set ascGlobalVect(afg) "white"
616     set ascGlobalVect(abg) "black"
617     set ascGlobalVect(sfg) "white"
618     set ascGlobalVect(sbg) "black"
619     set ascGlobalVect(visibility) 1
620     set ascGlobalVect(c_loaded) "0"
621     set ascGlobalVect(toolbitmap) \
622     "@$env(ASCENDBITMAPS)/toolAttributes.xbm"
623     }
624     }
625    
626     # proc EndSrc.browser {}
627     proc EndSrc.browser {} {
628     # browser startup exit
629     global ascBrowVect
630     set ascBrowVect(geometry) [sanegeometry $ascBrowVect(geometry)]
631     set minw [lindex [split $ascBrowVect(minsize) x] 0]
632     set minh [lindex [split $ascBrowVect(minsize) x] 1]
633     set gw [lindex [split [lindex [split $ascBrowVect(geometry) +] 0] x] 0]
634     set gh [lindex [split [lindex [split $ascBrowVect(geometry) +] 0] x] 1]
635     set gp "+[lindex [split [split $ascBrowVect(geometry) x] +] 1]+[lindex [split [split $ascBrowVect(geometry) x] +] 2]"
636     if {[expr $gw < $minw]} {set gw $minw}
637     if {[expr $gh < $minh]} {set gh $minh}
638     set gwh "${gw}x${gh}"
639     wm minsize .browser $minw $minh
640     wm geometry .browser [osgpos $gwh$gp]
641     wm iconname .browser $ascBrowVect(iconname)
642    
643     if {$ascBrowVect(initialstate)!="iconic" && \
644     $ascBrowVect(initialstate)!="iconified" &&
645     $ascBrowVect(initialstate)!="withdrawn"} {
646     wm deiconify .browser
647     }
648     if {"$ascBrowVect(initialstate)"=="withdrawn"} {
649     wm withdraw .browser
650     }
651     }
652    
653    
654     # Internal procedures
655    
656     # eof
657     #

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22