Changeset 935 for trunk/doc


Ignore:
Timestamp:
Mar 3, 2010 9:27:00 AM (11 years ago)
Author:
toby
Message:

EXPGUI:

  • Implement routine to locate window where user wants (see LocateWindow?)
  • allow pgplot in gsas/pgl or gsas/pgplot

Import_cif: make sure that missing or defaulted values for Uiso & occ are set to valid values.

gsascmds:

  • implement LocateWindow?
  • update to use saved pgplot location: $expgui(pgplotdir)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/expgui_cfg.html

    r930 r935  
    166166files that cannot be
    167167run at the time when the files are sourced. <I>(added in EXPGUI v1.21)</I>
     168</DL>
     169  <P><B>Window location variables.</B> These variables determine where
     170the EXPGUI window is located on the screen.
     171Note that regardless of the values, the window will never be placed so
     172that any part is outside of the screen.
     173<DL>
     174<DT><FONT FACE="COURIER">expgui(xpos)</FONT><DD>
     175  Horizontal window location where 0 is fully to the left and 100 is
     176  fully to the right. Default is 50 (middle).
     177<DT><FONT FACE="COURIER">expgui(ypos)</FONT><DD>
     178  Vertical window location where 0 is fully to the top and 100 is
     179  fully to the bottom. Default is 50 (middle).
     180<DT><FONT FACE="COURIER">expgui(poscenter)</FONT><DD>
     181  Specifies what part of the window is placed at the specifed location: N for top and S for
     182  bottom; W for left and E for right. These letters can be combined,
     183  so that NS centers vertically and EW centers horizontally. Default
     184  is the middle of the window (NSEW).
     185<P>
     186  <B>Example 1:</B> This code placed in the localconfig or gsas.config
     187  (or .gsas_config) file causes the window to be placed in the lower
     188  right side of the screen. Depending on the screen size, it may be
     189  flush to the bottom-left:
     190<blockquote><PRE>
     191set expgui(xpos) 25
     192set expgui(ypos) 75
     193</PRE></blockquote>
     194<P>
     195  <B>Example 2:</B> Instead, this code causes the window to be placed on the right side of
     196  the screen, vertically centered, but only when the screen has more than 2000 pixels (probably
     197  indicating a dual-screen configuration)
     198<blockquote><PRE>
     199  if {[winfo screenwidth .] > 2000} {
     200    set expgui(xpos) 25
     201}
     202</PRE></blockquote>
     203
     204</DL>
     205
    168206</DL></DL>
    169207
     
    210248other systems do not. You can toggle this option using the
    211249"Override Backspace" option on the file menu to see what works for you.
    212 
    213250</DL></DL>
    214251
Note: See TracChangeset for help on using the changeset viewer.