I've implemented a wxGrid in one of my program, and I would like to call and event every time a cell value changes (so I can update my internal data). What macro do I use? If I create the grid via:
self.cbgrid = wx.grid.Grid(self, ID_GRID)
I was hoping I could wire up a callback function via something like:
wx.grid.EVT_GRID_CELL_CHANGE(self, ID_GRID, self.cellchange)
but GRID_CELL_CHANGE doesn't appear to be the right function (it only takes two arguments, for one thing). What is the right function to use, and where should I have looked in the documentation to figure this out?
R.
Simply use:
wx.grid.EVT_GRID_CELL_CHANGE(self.cbgrid, self.cellchange)
Rick Muller
rmuller@sandia.gov
Pim Buurman
···
On 25 Mar 2004, at 23:17, Rick Muller wrote: