When a wx.grid.Grid
's column is resized, a wx.grid.GridSizeEvent
is emitted. From the docs and dir(event)
output this appears to be the most useless class in all of wxPython. It apparently doesn't tell you any of the relevant information regarding a column resize: which column was resized, what size it had before and which size it has now.
I suppose I can maintain a dict of {<column_index>: <column_size>}
pairs, then manually derive the relevant data from that on each resize event, but I assume I've missed something and that this won't be necessary, so:
Is it possible to find out which column was resized from a GridSizeEvent
without manually keeping track of all column sizes?