Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
c7dfbd84
Commit
c7dfbd84
authored
May 03, 2002
by
Sebastien Barre
Browse files
FIX: initialize interactor, add RightButtonRelease binding
parent
d91f4b81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Wrapping/Tcl/vtkinteraction/bindings-iw.tcl
View file @
c7dfbd84
...
...
@@ -198,6 +198,10 @@ namespace eval ::vtk {
[
$istyle
AddObserver RightButtonPressEvent
\
"::vtk::cb_istyleimg_right_button_press_event
$istyle
"
]
::vtk::set_widget_variable_value $istyle RightButtonReleaseEventTag
\
[
$istyle
AddObserver RightButtonReleaseEvent
\
"::vtk::cb_istyleimg_right_button_release_event
$istyle
"
]
::vtk::set_widget_variable_value $istyle StartPickEventTag
\
[
$istyle
AddObserver StartPickEvent
\
"::vtk::cb_istyleimg_start_pick_event
$istyle
$vtkiw
"
]
...
...
Wrapping/Tcl/vtkinteraction/bindings.tcl
View file @
c7dfbd84
...
...
@@ -97,6 +97,7 @@ namespace eval ::vtk {
if
{[
$renwin
GetInteractor
]
==
""
}
{
set iren
[
vtkGenericRenderWindowInteractor $
{
renwin
}
_iren
]
$iren SetRenderWindow $renwin
$iren Initialize
}
# Mouse motion
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment