Module wxmpl :: Class SelectionEvent
[show private | hide private]
[frames | no frames]

Class SelectionEvent

wxObjectPtr --+                
              |                
     wxEventPtr --+            
                  |            
  wxCommandEventPtr --+        
                      |        
    wxPyCommandEventPtr --+    
                          |    
           wxPyCommandEvent --+
                              |
                             SelectionEvent


wxPython event emitted when an area selection occurs in a matplotlib axes of a window for which zooming has been disabled. The selection is described by a rectangle from (x1, y1) to (x2, y2), of which only one point is required to be inside the axes.
Method Summary
  __init__(self, id, axes, x1, y1, x2, y2)
Create a new SelectionEvent for the area described by the rectangle from (x1, y1) to (x2, y2) in an axes.
  Clone(self)
    Inherited from wxPyCommandEventPtr
  __del__(self, delfunc)
  __repr__(self)
  GetSelf(self, *_args, **_kwargs)
  SetSelf(self, *_args, **_kwargs)
    Inherited from wxCommandEventPtr
  Checked(self, *_args, **_kwargs)
  GetClientData(self, *_args, **_kwargs)
  GetExtraLong(self, *_args, **_kwargs)
  GetInt(self, *_args, **_kwargs)
  GetSelection(self, *_args, **_kwargs)
  GetString(self, *_args, **_kwargs)
  IsChecked(self, *_args, **_kwargs)
  IsSelection(self, *_args, **_kwargs)
  SetExtraLong(self, *_args, **_kwargs)
  SetInt(self, *_args, **_kwargs)
  SetString(self, *_args, **_kwargs)
    Inherited from wxEventPtr
  GetEventObject(self, *_args, **_kwargs)
  GetEventType(self, *_args, **_kwargs)
  GetId(self, *_args, **_kwargs)
  GetSkipped(self, *_args, **_kwargs)
  GetTimestamp(self, *_args, **_kwargs)
  SetEventObject(self, *_args, **_kwargs)
  SetEventType(self, *_args, **_kwargs)
  SetId(self, *_args, **_kwargs)
  SetTimestamp(self, *_args, **_kwargs)
  Skip(self, *_args, **_kwargs)
    Inherited from wxObjectPtr
  Destroy(self, *_args, **_kwargs)
  GetClassName(self, *_args, **_kwargs)

Class Variable Summary
  axes: matplotlib Axes which was left-clicked
  x1: matplotlib x1 coordinate
  x1data: axes x1 coordinate
  x2: matplotlib x2 coordinate
  x2data: axes x2 coordinate
  y1: matplotlib y1 coordinate
  y1data: axes y1 coordinate
  y2: matplotlib y2 coordinate
  y2data: axes y2 coordinate

Method Details

__init__(self, id, axes, x1, y1, x2, y2)
(Constructor)

Create a new SelectionEvent for the area described by the rectangle from (x1, y1) to (x2, y2) in an axes.
Overrides:
wxPython.events.wxPyCommandEvent.__init__

Class Variable Details

axes

matplotlib Axes which was left-clicked

x1

matplotlib x1 coordinate

x1data

axes x1 coordinate

x2

matplotlib x2 coordinate

x2data

axes x2 coordinate

y1

matplotlib y1 coordinate

y1data

axes y1 coordinate

y2

matplotlib y2 coordinate

y2data

axes y2 coordinate

Generated by Epydoc 2.1 on Mon Aug 28 13:47:49 2006 http://epydoc.sf.net