wxGrid and Event Handlers
We need to handle mouse events with wxGrid, especially with the column titles, so we can determine which column was pressed (for adding sorting capabilities). wxGrid does not have any defined event handlers. How can new event handlers be attached to wxGrid?
def OnMouseUp:
print "Up at ",self.YToRow(self.GetPosition()[1])
def OnMouseEvent(self,event):
print "Mouse Event"
event.Skip()
etc.
ยทยทยท
MarkM@Yogananda-SRF.org wrote:
We need to handle mouse events with wxGrid, especially with the column
titles, so we can determine which column was pressed (for adding
sorting capabilities). wxGrid does not have any defined event
handlers. How can new event handlers be attached to wxGrid?