The attached gridtest.py illustrates some problems that exist in wxGrid, in
particular the differences between Win32 and wxGTK implementations, and a
problem with the wxPyGridCellEditor.
* Win32 page:
Under linux I cannot start entering text in a cell until I click it twice with
the mouse. Note that it doesn't have to be a doubleclick (quick).
* GTK page:
The GTK page works almost perfectly in Linux.
Small problems:
When the page is activated, the focus remains in the tab (although the grid
'cursor' has (0,0) selected). Under Windows the focus is automatically at
(0,0). I'd prefer the Windows behaviour on Linux as well, but maybe that
is platform (GTK) native behaviour.
As I mentioned previously, the numeric pad Enter does not work under linux.
Under Win32 the Enter key does not leave the cell.
There is something funny about the CellEditor. For some reason it will
loose the track of what row it should be editing. After a while the editor will
appear on a wrong row, but after edit the correct row's cell gets pasted with
the results.
My environment:
Linux: Mandrake 7.1, Python 2.0
wxPython 2.2.2, wxWindows 2.2.2, installed from Robin's RPMs
Under Win98 the same from prebuilt exe's.
-Harri
PS. disclaimer, I'm rather tired and might have overlooked something, but I
wanted to profit from the US-daylight hours to have replys when I wake
up in the morning
gridtest.py (5.91 KB)