Changeset 1766
- Timestamp:
- 07/14/10 14:10:43 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/asaplotbase.py
r1757 r1766 378 378 self.events[type] = None 379 379 380 # It seems to be necessary to return events to the toolbar. 381 if type == 'motion_notify':382 self.canvas.mpl_connect(type + '_event',383 self.figmgr.toolbar.mouse_move)384 elif type == 'button_press':385 self.canvas.mpl_connect(type + '_event',386 self.figmgr.toolbar.press)387 elif type == 'button_release':388 self.canvas.mpl_connect(type + '_event',389 self.figmgr.toolbar.release)380 # It seems to be necessary to return events to the toolbar. <-- Not ture. 2010.Jul.14.kana. 381 #if type == 'motion_notify': 382 # self.canvas.mpl_connect(type + '_event', 383 # self.figmgr.toolbar.mouse_move) 384 #elif type == 'button_press': 385 # self.canvas.mpl_connect(type + '_event', 386 # self.figmgr.toolbar.press) 387 #elif type == 'button_release': 388 # self.canvas.mpl_connect(type + '_event', 389 # self.figmgr.toolbar.release) 390 390 391 391 else:
Note:
See TracChangeset
for help on using the changeset viewer.