Changeset 6103 for branches/1.5/gui/scripts/analyzer.tcl
- Timestamp:
- Mar 4, 2016, 8:21:03 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/gui/scripts/analyzer.tcl
r6029 r6103 68 68 public method clear {{xmlobj "all"}} 69 69 public method download {option args} 70 public method buildMenu { w url appName } 70 71 71 72 protected method _plot {args} … … 104 105 private variable _wait_uq 0 105 106 106 private method BuildMenu { url }107 107 private method BuildSimulationTable { w } 108 108 private method Cancel {} … … 201 201 } 202 202 pack $itk_component(help) -side left 203 BuildMenu $url203 buildMenu $itk_component(help).menu $url $_appName 204 204 205 205 if 0 { … … 1559 1559 # Build Help menu 1560 1560 # 1561 itcl::body Rappture::Analyzer::BuildMenu { url } { 1562 set m $itk_component(help).menu 1563 itk_component add helpmenu { 1564 menu $itk_component(help).menu \ 1565 -tearoff 0 \ 1566 -postcommand [itcl::code $this PostMenu] 1567 } { 1568 ignore -tearoff 1569 } 1570 if { $_appName == "" || $url == "" } { 1561 itcl::body Rappture::Analyzer::buildMenu { m url appName } { 1562 menu $m \ 1563 -tearoff 0 \ 1564 -postcommand [itcl::code $this PostMenu] 1565 if { $appName == "" || $url == "" } { 1571 1566 set state disabled 1572 1567 } else { … … 1574 1569 } 1575 1570 $m add command -label "About this tool" \ 1576 -command [list Rappture::filexfer::webpage "$url/tools/$ _appName"] \1571 -command [list Rappture::filexfer::webpage "$url/tools/$appName"] \ 1577 1572 -state $state 1578 1573 $m add command -label "Questions?" \
Note: See TracChangeset
for help on using the changeset viewer.