[pygtk] Editable tree and CellRenderToggle

nicoe at no-log.org nicoe at no-log.org
Thu Dec 8 18:42:44 WST 2005


Hello,

I'm stuck with a problem, where I'm using Tab, Shift Tab, Up and Down
to navigate into an editable tree (I use the 'editing-started' signal
to bind the key events to a function of my customized ViewTree).
Evrything work flawlessly until I tried to put a toggle into a cell.

When entering the cell the checkbox is toggled  and the navigation
stops.

What I would like to do, is:

    - entering the cell
    - pressing Space to (de)activate the toggle
    - and the continue to move using my keys.

Is this possible ? Or should I run for the easiest way to do it : a
TextEntry with either 0 or 1 in it ?

Thank you.

-- 
(°>  Nicolas Évrard
/ )  Liège - Belgique
^^


More information about the pygtk mailing list