Changeset 927
- Timestamp:
- Dec 4, 2009 5:14:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/excledt.tcl
- Property rcs:date changed from 2008/07/14 01:27:23 to 2008/07/14 13:22:34
- Property rcs:lines changed from +2 -2 to +11 -8
- Property rcs:rev changed from 1.17 to 1.18
r925 r927 364 364 -from 0.1 -to 3 -resolution 0.05] -side top 365 365 pack [frame $box.a] -side bottom 366 pack [button $box.a.1 -text "Apply"-command "setsymopts $sym"] -side left367 pack [button $box.a.2 -text "Close"-command "destroy $box"] -side left366 pack [button $box.a.1 -text Change -command "setsymopts $sym"] -side left 367 pack [button $box.a.2 -text Cancel -command "destroy $box"] -side left 368 368 } 369 369 proc setsymopts {sym} { … … 753 753 grid [entry $box.emx -textvariable graph(tmax) -width 10] -column 1 -row 2 754 754 grid [frame $box.c] -column 0 -columnspan 99 -row 99 755 grid [button $box.c.1 -text Set-command "destroy $box"\755 grid [button $box.c.1 -text Change -command "destroy $box"\ 756 756 ] -column 1 -row 0 757 grid [button $box.c.2 -text Quit\757 grid [button $box.c.2 -text Cancel \ 758 758 -command "foreach i {min max} {set graph(\$i) {}}; destroy $box" \ 759 759 ] -column 2 -row 0 … … 1164 1164 } 1165 1165 } 1166 grid [button $top.b$col -text "Set"\1166 grid [button $top.b$col -text Continue \ 1167 1167 -command "SetDummyRangeBox $graph(hst) $start $end $step"] \ 1168 1168 -sticky ns -row 0 -column $col … … 1570 1570 #afterputontop 1571 1571 wm deiconify . 1572 bind all <Control-c> catchQuit 1572 if {$::tcl_platform(platform) != "windows"} { 1573 bind all <Control-c> catchQuit 1574 } 1575 1573 1576 # reset the number of cycles if they have changed 1574 1577 if {$cycsav != [expinfo cycles]} { … … 1615 1618 label $np.dl3 -text "\n" -justify left -fg blue 1616 1619 grid [frame $np.f6] -column 0 -row 99 -columnspan 5 -sticky ew 1617 grid [button $np.f6.b6a -text Set\1620 grid [button $np.f6.b6a -text Change \ 1618 1621 -command "SetDummyRange $np $hst"] -column 0 -row 0 1619 1622 bind $np <Return> "SetDummyRange $np $hst"
Note: See TracChangeset
for help on using the changeset viewer.