Changeset 449 for trunk/expgui
- Timestamp:
- Dec 4, 2009 5:06:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expgui
- Property rcs:date changed from 2001/09/04 22:56:15 to 2001/09/25 23:30:11
- Property rcs:lines changed from +8 -3 to +36 -17
- Property rcs:rev changed from 1.46 to 1.47
r428 r449 524 524 2000, Not subject to copyright\n\n\ 525 525 Revision [lindex $expgui(Revision) 1] (readexp.tcl [lindex $expmap(Revision) 1])\n\n\ 526 Generalized Structure Analysis System (GSAS)\n\ 526 Cite: B. H. Toby, EXPGUI, a graphical\n\ 527 user interface for GSAS, J. Appl. Cryst.\n\ 528 34, 210-21 (2001). 529 \n\n\ 530 Generalized Structure Analysis System\n(GSAS)\n\ 527 531 A. C. Larson and\n R. B. Von Dreele,\n LANSCE, Los Alamos\n\n\ 528 532 " \ 533 info 0 OK 534 } 535 proc Cite { } { 536 global expgui expmap 537 tk_dialog .about {Citations...} \ 538 "If you use EXPGUI, please cite\n\n\ 539 B.H. Toby, EXPGUI, a graphical\n\ 540 user interface for GSAS, J. Appl. Cryst.\n\ 541 34, 210-21 (2001).\n\n\ 542 as well as\n\n\ 543 A.C. Larson and R.B. Von Dreele,\n\ 544 \"General Structure Analysis System (GSAS)\",\n\ 545 Los Alamos National Laboratory Report\n\ 546 LAUR 86-748 (2000)." \ 529 547 info 0 OK 530 548 } … … 1255 1273 lappend expgui(HistSelectList) $frm 1256 1274 grid [scrollbar $frm.x -orient horizontal \ 1257 -command "move2boxes \" $frm.title $frm.lbox \" "1275 -command "move2boxesX \" $frm.title $frm.lbox \" " 1258 1276 ] -row 3 -column 0 -sticky ew 1259 1277 grid [scrollbar $frm.y \ … … 1373 1391 } 1374 1392 foreach lbox $expgui(HistSelectList) { 1375 $lbox.lbox insert end [format "%2d %s 1393 $lbox.lbox insert end [format "%2d %s %4d %8s %-67s" \ 1376 1394 $h \ 1377 [string range $expmap(htype_$h) 1 2] \1395 [string range $expmap(htype_$h) 1 3] \ 1378 1396 [histinfo $h bank] \ 1379 1397 $det \ … … 2903 2921 $expgui(atomlistbox) configure -selectmode extended 2904 2922 grid [scrollbar $fbig.bscr -orient horizontal \ 2905 -command "move2boxes \" $fbig.title $fbig.lbox \" " \2923 -command "move2boxesX \" $fbig.title $fbig.lbox \" " \ 2906 2924 ] -row 2 -column 0 -sticky ew 2907 2925 grid [scrollbar $fbig.rscr -command "$fbig.lbox yview" \ … … 3011 3029 } 3012 3030 3013 proc move2boxes {boxlist args} {3014 foreach lbox $boxlist {3015 eval $lbox xview $args3016 }3017 }3018 3031 #----------------------------------------------------------------------------- 3019 3032 proc MakeHistPane {} { … … 3064 3077 grid [frame $expgui(histFrame).bb] -column 1 -row 6 3065 3078 if [file executable $expgui(exptool)] { 3066 button $expgui(histFrame).bb.newh -text "Add New Histogram" -command MakeAddHistBox 3067 grid $expgui(histFrame).bb.newh -column 1 -row 1 3079 button $expgui(histFrame).bb.newh -text "Add New\nHistogram" \ 3080 -command MakeAddHistBox 3081 grid $expgui(histFrame).bb.newh -column 0 -row 1 3068 3082 } 3069 3083 if [file exists [file join $expgui(scriptdir) excledt]] { 3070 button $expgui(histFrame).bb.excl -text "Data Limits/Exclude" -command excledit 3071 grid $expgui(histFrame).bb.excl -column 0 -row 1 3072 } 3084 button $expgui(histFrame).bb.excl \ 3085 -text "Set Data Limits &\nExcluded Regions" -command excledit 3086 grid $expgui(histFrame).bb.excl -column 1 -row 1 3087 } 3088 button $expgui(histFrame).bb.use -text "Set Histogram\nUse Flags" \ 3089 -command SetHistUseFlags 3090 grid $expgui(histFrame).bb.use -column 2 -row 1 3073 3091 3074 3092 # BACKGROUND information. … … 3431 3449 bind . <Key-F1> MakeWWWHelp 3432 3450 $expgui(fm).help.menu add command -label "About..." -command About 3451 $expgui(fm).help.menu add command -label "Cite..." -command Cite 3433 3452 3434 3453 #---- options menu button
Note: See TracChangeset
for help on using the changeset viewer.