Changeset 4757 for trunk/gui


Ignore:
Timestamp:
Nov 21, 2014 2:10:36 PM (9 years ago)
Author:
ldelgass
Message:

fix manual camera settings bindings

Location:
trunk/gui/scripts
Files:
7 edited

Legend:

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

    r4749 r4757  
    23832383        entry $inner.${tag} -font "Arial 9"  -bg white \
    23842384            -textvariable [itcl::scope _settings($this-$tag)]
    2385         bind $inner.${tag} <KeyPress-Return> \
     2385        bind $inner.${tag} <Return> \
     2386            [itcl::code $this camera set ${tag}]
     2387        bind $inner.${tag} <KP_Enter> \
    23862388            [itcl::code $this camera set ${tag}]
    23872389        blt::table $inner \
  • trunk/gui/scripts/vtkglyphviewer.tcl

    r4749 r4757  
    18651865        entry $inner.${tag} -font "Arial 9"  -bg white \
    18661866            -textvariable [itcl::scope _view($tag)]
    1867         bind $inner.${tag} <KeyPress-Return> \
     1867        bind $inner.${tag} <Return> \
     1868            [itcl::code $this camera set ${tag}]
     1869        bind $inner.${tag} <KP_Enter> \
    18681870            [itcl::code $this camera set ${tag}]
    18691871        blt::table $inner \
  • trunk/gui/scripts/vtkisosurfaceviewer.tcl

    r4749 r4757  
    18401840        entry $inner.${tag} -font "Arial 9"  -bg white \
    18411841            -textvariable [itcl::scope _view(-$tag)]
    1842         bind $inner.${tag} <KeyPress-Return> \
    1843             [itcl::code $this camera set ${tag}]
     1842        bind $inner.${tag} <Return> \
     1843            [itcl::code $this camera set -${tag}]
     1844        bind $inner.${tag} <KP_Enter> \
     1845            [itcl::code $this camera set -${tag}]
    18441846        blt::table $inner \
    18451847            $row,0 $inner.${tag}label -anchor e -pady 2 \
  • trunk/gui/scripts/vtkmeshviewer.tcl

    r4749 r4757  
    14431443        entry $inner.${tag} -font "Arial 9"  -bg white \
    14441444            -textvariable [itcl::scope _view($tag)]
    1445         bind $inner.${tag} <KeyPress-Return> \
     1445        bind $inner.${tag} <Return> \
     1446            [itcl::code $this camera set ${tag}]
     1447        bind $inner.${tag} <KP_Enter> \
    14461448            [itcl::code $this camera set ${tag}]
    14471449        blt::table $inner \
  • trunk/gui/scripts/vtkstreamlinesviewer.tcl

    r4749 r4757  
    18701870        entry $inner.${tag} -font "Arial 9"  -bg white \
    18711871            -textvariable [itcl::scope _view($tag)]
    1872         bind $inner.${tag} <KeyPress-Return> \
     1872        bind $inner.${tag} <Return> \
     1873            [itcl::code $this camera set ${tag}]
     1874        bind $inner.${tag} <KP_Enter> \
    18731875            [itcl::code $this camera set ${tag}]
    18741876        blt::table $inner \
  • trunk/gui/scripts/vtksurfaceviewer.tcl

    r4749 r4757  
    17521752        entry $inner.${tag} -font "Arial 9"  -bg white \
    17531753            -textvariable [itcl::scope _view($tag)]
    1754         bind $inner.${tag} <KeyPress-Return> \
     1754        bind $inner.${tag} <Return> \
     1755            [itcl::code $this camera set ${tag}]
     1756        bind $inner.${tag} <KP_Enter> \
    17551757            [itcl::code $this camera set ${tag}]
    17561758        blt::table $inner \
  • trunk/gui/scripts/vtkviewer.tcl

    r4749 r4757  
    22242224        entry $inner.${tag} -font "Arial 9"  -bg white \
    22252225            -textvariable [itcl::scope _view($tag)]
    2226         bind $inner.${tag} <KeyPress-Return> \
     2226        bind $inner.${tag} <Return> \
     2227            [itcl::code $this camera set ${tag}]
     2228        bind $inner.${tag} <KP_Enter> \
    22272229            [itcl::code $this camera set ${tag}]
    22282230        blt::table $inner \
Note: See TracChangeset for help on using the changeset viewer.