This commit is contained in:
2018-11-21 08:08:23 +01:00
parent 882ac3a66e
commit 554fd8e1ca
11 changed files with 90 additions and 1325 deletions

View File

@@ -8,7 +8,7 @@
'''
implements an image view to show a colored image of a hdf5 dataset.
'''
from __future__ import print_function
if __name__ == '__main__':
#Used to guarantee to use at least Wx2.8
import wxversion
@@ -100,12 +100,12 @@ class MPLCanvasVelo(FigureCanvas):
def OnBtnPress(self, event):
"""on button press we will see if the mouse is over us and store some data"""
print dir(event.guiEvent)
print(dir(event.guiEvent))
return
def OnBtnRelease(self, event):
"""on release we reset the press data"""
print dir(event.guiEvent)
print(dir(event.guiEvent))
#self.OnMouse(event)
return