Changeset 1766


Ignore:
Timestamp:
07/14/10 14:10:43 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (a bug fix)

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: try "spec value" button on the plot

Put in Release Notes: No

Module(s): sdplot and ASAP plotter

Description: Avoid the collision of motion_notify event.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/asaplotbase.py

    r1757 r1766  
    378378                self.events[type] = None
    379379
    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)
    390390
    391391        else:
Note: See TracChangeset for help on using the changeset viewer.