Gensek wrote:
I have a grid. I want to sort it when a column label is clicked. I know
about the EVT_GRID_LABEL_LEFT_DCLICK event, but that is not enough. I
do not merely need to know that a label was clicked. I need to know
which label was clicked. I do not know how to do that. I suspect you
might know. I request that you tell me.

I also wish to know some other things: how to find out the location of
a mouse pointer in a wxWindow (or at least the frame), and how to
change the color of a single specified pixel in a bitmap.

I use Python 2.3, wxPython 2.4.2.


Hi,
In C++, you can use event.GetColumn() to get that info.
Look at wxGridEvent.
If I were you, I would try to see if these functions are also available on wxPython


Michalis
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to