wxGrid

From: Gensek (fusionary_2000_at_yahoo.com)
Date: 02/28/05


Date: 27 Feb 2005 23:01:05 -0800

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.



Relevant Pages

  • Re: Problem faced while using TinyLnF
    ... Here is how I did the sort arrows prior to the days of TableRowSorter. ... JLabel label; ... Up pointing arrow, indicates ascending sort. ... JTableHeader th = tableView.getTableHeader; ...
    (comp.lang.java.gui)
  • Re: wxGrid
    ... I want to sort it when a column label is clicked. ... involves first figuring out which header was clicked. ... You should upgrade to wxPython 2.5.3 (2.5.4 is around the corner ...
    (comp.lang.python)
  • Re: Sortable Java Tree Table
    ... sort in order by app name ... public SortHeadRenderer (TableOrderer sorter) ... used to configure the renderer appropriately before drawing. ... JLabel label; ...
    (comp.lang.java.gui)
  • Re: Inidicator Arrow convention for Sort Order
    ... is in the arrow telling you how the sort is NOW or how you want it to ... A button should be labelled such that what the label says becomes true once the button is clicked. ... I would propose to use an unambiguous convention, ... It is a pictogram which represents the state of the sort order. ...
    (comp.lang.java.gui)
  • Re: A Bear of Little Brain?
    ... sort of label to enable some sort of categorisation. ... that there Is a distinction. ... Which is something people in many fields would feel a pressure ...
    (uk.rec.sheds)