- Timestamp:
- Nov 4, 2013, 1:17:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/geoviewer.tcl
r4031 r4034 71 71 protected method AdjustSetting {what {value ""}} 72 72 protected method FixSettings { args } 73 protected method KeyPress { key } 74 protected method KeyRelease { key } 73 75 protected method MouseClick { button x y } 74 76 protected method MouseDoubleClick { button x y } … … 281 283 0,0 $itk_component(view) -fill both -reqwidth $w 282 284 blt::table configure $itk_component(plotarea) c1 -resize none 285 286 # Bindings for keyboard events 287 bind $itk_component(view) <KeyPress> \ 288 [itcl::code $this KeyPress %N] 289 bind $itk_component(view) <KeyRelease> \ 290 [itcl::code $this KeyRelease %N] 283 291 284 292 # Bindings for rotation via mouse … … 988 996 } 989 997 998 itcl::body Rappture::GeoViewer::KeyPress {k} { 999 SendCmd "key press $k" 1000 } 1001 1002 itcl::body Rappture::GeoViewer::KeyRelease {k} { 1003 SendCmd "key release $k" 1004 } 1005 990 1006 itcl::body Rappture::GeoViewer::MouseClick {button x y} { 991 1007 if {0} {
Note: See TracChangeset
for help on using the changeset viewer.