cell spanning

That is not quite what I see in the Simple Grid Demo**. Using the tab and arrow keys "selects" the 3 x 3 cell correctly as a single cell. But the tab and arrow key must be hit 3 times to get to cells neighboring the 3 x 3 cell and for each key stroke the OnSelectCell() method prints a message for each "hidden" cell.

/Jean Brouwers

**) This is wxPython 2.4.2.4 on two platforms (1) with Python 2.3.4 and Python 2.4 and GTK2+ on RedHat Linux 8 and (2) with Python 2.3.3 on Windows XP.

Timothy Smith wrote:

ยทยทยท

setcellsize doesn't span cells, it just resizes a cell over the top of other cells. the problem with this is if you want to tab around cells, it selects the cells under the spanned cell. it also means anything in the spanned cell get hidden if you select the cells under it.

Jean Brouwers wrote:

There is a 3 x 3 cell span in the Simple Grid demo. The source code is in file .../wxPython/demo/GridSimple,py and it uses the SetCellSize() method. The signature is|

SetCellSize(self, row, col, num_rows, num_cols)|

Check this message as well, it may be applicable.

<http://lists.wxwidgets.org/archive/wxPython-users/msg20683.html&gt;

/Jean Brouwers

Timothy Smith wrote:

Robin Dunn wrote:

Timothy Smith wrote:

is there a way i can span cells? it'd be super handy

In a wx.grid.Grid? If so then there is an example of doing this in the GridSimple sample in the demo.

i can't see one at all. this is a pretty basic thing to want to do surely wx supports it?

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org