Differences between revisions 3 and 4
Revision 3 as of 2006-04-23 00:47:54
Size: 931
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 4 as of 2008-03-11 10:50:32
Size: 931
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
[[BR]] <<BR>>
Line 19: Line 19:
  a ["wxPython Cookbook"] entry on popping up menus on right-click. -- LionKimbro [[DateTime(2003-09-30T22:26:52)]]   a [[wxPython Cookbook]] entry on popping up menus on right-click. -- LionKimbro <<DateTime(2003-09-30T22:26:52)>>

wxGrid Events

These are the typical Events that can be used in your Event Table:

  • EVT_GRID_CELL_LEFT_CLICK(self, self.OnCellLeftClick)

  • EVT_GRID_CELL_RIGHT_CLICK(self, self.OnCellRightClick)

  • EVT_GRID_CELL_LEFT_DCLICK(self, self.OnCellLeftDClick)

  • EVT_GRID_CELL_RIGHT_DCLICK(self, self.OnCellRightDClick)


  • EVT_GRID_LABEL_LEFT_CLICK(self, self.OnLabelLeftClick)

  • EVT_GRID_LABEL_RIGHT_CLICK(self, self.OnLabelRightClick)

  • EVT_GRID_LABEL_LEFT_DCLICK(self, self.OnLabelLeftDClick)

  • EVT_GRID_LABEL_RIGHT_DCLICK(self, self.OnLabelRightDClick)

These particular events are useful for popping up a menu on right-click.

Event generation (last edited 2008-03-11 10:50:32 by localhost)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.