Changeset 22 for trunk/gui/apps/driver


Ignore:
Timestamp:
Jul 16, 2005, 2:31:32 PM (19 years ago)
Author:
mmc
Message:

Lots of changes to support Huckel-IV:

  • Support for embedded <tool> declarations
  • New <integer> entry
  • Support for numbers and structures as output elements
  • Atom numbers/symbols in MoleculeViewer?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/driver

    r17 r22  
    2525package require Rappture
    2626
    27 option add *MainWin.mode web startupFile
     27option add *MainWin.mode desktop startupFile
    2828option add *MainWin.borderWidth 0 startupFile
    29 option add *MainWin.anchor nw startupFile
     29option add *MainWin.anchor center startupFile
    3030
    3131# "web site" look
     
    129129pack $f.analyze -expand yes -fill both
    130130
    131 $tool configure -analyzer $f.analyze
     131$tool notify add analyzer * [list $f.analyze reset]
    132132
    133133# ----------------------------------------------------------------------
     
    147147        $f.analyze configure -holdwindow [$win.pager page @0]
    148148
    149         if {[$tool xml get tool.control] == "auto"} {
     149        set type [$tool xml get tool.control]
     150        if {$type == ""} {
     151            set type [$tool xml get tool.control.type]
     152        }
     153
     154        if {$type == "auto"} {
    150155            # in "auto" mode, we don't need a simulate button
    151156            $f.analyze configure -simcontrol off
Note: See TracChangeset for help on using the changeset viewer.