Re: wxGrid
From: Michalis Kabrianis (mk_at_interzone.gr)
Date: 02/28/05
- Next message: egrimleyevans_at_yahoo.co.uk: "Yahoo! Auto Response"
- Previous message: Brian van den Broek: "Re: Trees"
- In reply to: Gensek: "wxGrid"
- Next in thread: Paul McNett: "Re: wxGrid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 09:52:57 +0200
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
- Next message: egrimleyevans_at_yahoo.co.uk: "Yahoo! Auto Response"
- Previous message: Brian van den Broek: "Re: Trees"
- In reply to: Gensek: "wxGrid"
- Next in thread: Paul McNett: "Re: wxGrid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|