Ignore:
Timestamp:
Mar 5, 2013 3:22:29 PM (11 years ago)
Author:
gah
Message:

add KP_Enter to Return bindings. Implement OK handler in visviewer base class. Fix setting # of isolines while running a sequence of heightmaps/contours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/nanovisviewer.tcl

    r3441 r3454  
    193193    $_parser alias legend [itcl::code $this ReceiveLegend]
    194194    $_parser alias data [itcl::code $this ReceiveData]
    195     $_parser alias viserror [itcl::code $this ReceiveError]
    196195
    197196    # Initialize the view to some default parameters.
     
    19641963        entry $inner.${tag} -font "Arial 9"  -bg white \
    19651964            -textvariable [itcl::scope _settings($this-$tag)]
    1966         bind $inner.${tag} <KeyPress-Return> \
     1965        bind $inner.${tag} <Return> \
     1966            [itcl::code $this camera set ${tag}]
     1967        bind $inner.${tag} <KP_Enter> \
    19671968            [itcl::code $this camera set ${tag}]
    19681969        blt::table $inner \
Note: See TracChangeset for help on using the changeset viewer.