[wxPython] wxGrid and Column Separators

> I'm working with wxGrid and I have a question regarding
> the separators between column headers. Right now, if
> you click and drag the separator you change the width
> of the column. Ideally, I would like to be able to
> double-click the separator and have the column autosize.

How about double clicking on the column header? I think you
can get that
with EVT_GRID_LABEL_LEFT_DCLICK

Yeah... That will work... Originally, I had planned on using that for
sorting. However, this app doesn't conceptually support column selection -
so, I really can just make EVT_GRID_LABEL_LEFT_CLICK handle sorting.

I also took a look at the wxWindows sources and it appears that it only
sends the EVT_GRID_COL_SIZE message also. :frowning: Ah well.

Anyway, I appreciate the suggestion.

-Sean Laurent

ยทยทยท

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users