python - In wxPython Grid, creating event handler for Cell Selection disables moving the GridCursor -


in program i'm writing, user needs able select cell in grid , edit value. program shows value of selected value in hexadecimal (so (0,0) 0x00, (1,3) 0x19, etc.) had display updated through binding wx.grd.evt_grid_select_cell event. however, upon doing this, gridcursor no longer move, stay on (0,0). so, added setgridcursor statement handler have move cursor when handler called. however, generated infinite loop, apparently setgridcursor generates evt_grid_select_cell command when called.

my question is, how have code executes when new cell selected while still maintaining old cell selection functionality?

adding event.skip() @ end of custom handler passes event default handler.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -