Module wxmpl :: Class PointEvent
[frames] | no frames]

Class PointEvent

source code

     object --+                
              |                
wx._core.Object --+            
                  |            
     wx._core.Event --+        
                      |        
  wx._core.CommandEvent --+    
                          |    
    wx._core.PyCommandEvent --+
                              |
                             PointEvent

wxPython event emitted when a left-click-release occurs in a matplotlib axes of a window without an area selection.

Instance Methods
 
__init__(self, id, axes, x, y)
Create a new PointEvent for the matplotlib coordinates (x, y) of an axes.
source code
Event
Clone(self) source code

Inherited from wx._core.PyCommandEvent: __del__, __repr__

Inherited from wx._core.CommandEvent: Checked, GetClientData, GetClientObject, GetExtraLong, GetInt, GetSelection, GetString, IsChecked, IsSelection, SetClientData, SetClientObject, SetExtraLong, SetInt, SetString

Inherited from wx._core.Event: GetEventObject, GetEventType, GetId, GetSkipped, GetTimestamp, IsCommandEvent, ResumePropagation, SetEventObject, SetEventType, SetId, SetTimestamp, ShouldPropagate, Skip, StopPropagation

Inherited from wx._core.Object: Destroy, GetClassName

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables
  axes
matplotlib Axes which was left-clicked
  x
matplotlib X coordinate
  xdata
axes X coordinate
  y
matplotlib Y coordinate
  ydata
axes Y coordinate
Properties

Inherited from object: __class__

Method Details

__init__(self, id, axes, x, y)
(Constructor)

source code 

Create a new PointEvent for the matplotlib coordinates (x, y) of an axes.

Overrides: object.__init__

Clone(self)

source code 
Returns: Event
Overrides: wx._core.Event.Clone
(inherited documentation)