Re: spinbutton behaviour and key bindings for treeview



... ok, it's key_release, but i guess it's irrelevant?

maybe, maybe not.  why did you choose release?

mmm... just so that nothing happens if i hold the key instead of simply hitting it... i don't like it if 
holding button means consecutive actions...

Here's a working example i just cooked up:

tnx, i've corrected the keycodes part as you and Torsten suggested but...
pressing delete while editing a cell still trigers the event and the $selection also returns a proper $iter, 
so the code still wants to delete the row... :)

... but it works properly with key_press_event though .... interesting...

regards, bostjan




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