Tree views, check cell renderers and ENTER button problem



Hi

In my application i have a treeview where each row contains a check cell
renderer and the signal "row-activated" is sent by the treeview to a
callback function that clicks the "OK" button that makes the application
to process data.
Now, when a check cell has focus, both <SPACEBAR> and <ENTER> keys
toggle the check: i would like to know if it's possible catching an
<ENTER> key pressure so that it can be managed to simulate click on the
"OK" button.
I'm already catching key_press_event from the window to catch <ESC> key
pressure, but of course this doesn't work with the <ENTER> key.

thanks

Attilio




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]