- Timestamp:
- Dec 4, 2009 5:01:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/expgui_cfg.html
- Property rcs:date changed from 2000/05/17 20:27:05 to 2000/05/18 15:32:42
- Property rcs:lines changed from +93 -21 to +23 -14
- Property rcs:rev changed from 1.8 to 1.9
r143 r144 15 15 ALIGN=LEFT></A> 16 16 <CENTER> 17 <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/tclpkgs.html"> 18 <IMG SRC="tcltklogo100.gif" 19 alt="Link to Tcl/Tk information"> 20 </CENTER></A> 21 <hr> 22 23 <CENTER> 17 24 <H1> 18 25 Customizing EXPGUI and Associated Programs</H1></CENTER> … … 21 28 ways quite easily. 22 29 This document describes how the GUI works and how to modify the menus without 23 significant reprogramming. A little bit of programm aning in Tcl/Tk can go a30 significant reprogramming. A little bit of programming in Tcl/Tk can go a 24 31 long way in adding new features. See the 25 32 <a HREF="#Customizing">Customizing</A> examples, below. … … 62 69 button bar and definitions for each command. The contents of this file 63 70 are designed to be modified and extended by users, either by editing the file, 64 or by overrid ding definitions in the <TT>localconfig</TT> or71 or by overriding definitions in the <TT>localconfig</TT> or 65 72 <TT>.gsas_config</TT> files. 66 73 … … 228 235 229 236 <DT>peakinfo(min<i>n</i>) and peakinfo(max<i>n</i>)<DD> 230 These variables dicta ctthe placement vertical position for reflection237 These variables dictate the placement vertical position for reflection 231 238 markers, when manually placed (see expgui(autotick), below). To draw 232 239 to the edge of the screen, use -Inf and Inf. … … 513 520 to create this inner notebook when the "Constraints" notebook page is first 514 521 shown. This in turn calls MakeAtomsConstraintsPane and DisplayAtomConstraints. 515 No routine is needed to update this page each time the page516 is displayed.522 To update this page each time it is displayed, DisplayConstraintsPane is 523 called. 517 524 <LI>Edit file <tt>expgui</tt> to make the following changes: 518 525 <UL> 519 526 <P><LI>load the <tt>atomcons.tcl</tt> file: 520 527 <PRE> 521 # commands for co straints528 # commands for constraints 522 529 source [file join $expgui(scriptdir) atomcons.tcl] 523 530 </PRE> … … 528 535 set expgui(consFrame) [\ 529 536 .n insert end consPane -text Constraints \ 530 -raisecmd "set expgui(pagenow) consFrame "\537 -raisecmd "set expgui(pagenow) consFrame; DisplayConstraintsPane"\ 531 538 -createcmd MakeConstraintsPane] 539 lappend expgui(frameactionlist) "consFrame DisplayConstraintsPane" 532 540 </PRE> 533 541 Note that if we were displaying the atoms constraint page directly on … … 535 543 <tt>-raisecmd DisplayAtomConstraints -createcmd MakeAtomsConstraintsPane</tt> 536 544 <P> 537 If the frame will need to be updated when histogram information changes, 538 add the name of the frame and a command to execute into string 539 expgui(frameactionlist), for example: 540 <PRE> 541 lappend expgui(frameactionlist) "consFrame DisplayConstraints" 545 Since the frame will need to be updated when information in the .EXP file 546 changes, the name of the frame and a command to execute are added into list 547 expgui(frameactionlist) using the <TT>lappend expgui(frameactionlist)</TT> 548 command. 542 549 </PRE> 543 550 </UL> 544 551 </OL> 545 552 <hr> 546 GSAS is written by Allen C. Larson and <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://lansce.lanl.gov/lujan/staff12/vondreele.htm"> 553 <A Href="http://www.ncnr.nist.gov/programs/crystallography/software/gsas.html"> 554 GSAS</A> 555 is written by Allen C. Larson and <A HREF="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://lansce.lanl.gov/lujan/staff12/vondreele.htm"> 547 556 Robert B. Von Dreele</A>, MS-H805, 548 557 Los Alamos National Laboratory, Los Alamos, NM 87545. Problems, questions
Note: See TracChangeset
for help on using the changeset viewer.