[pygtk] Control + Click in Tree view
hvastani at vt.edu
Wed Apr 20 21:53:49 WST 2005
hooking it to button_press_event worked for me. Thanks :)
>===== Original Message From Christian Robottom Reis <kiko at async.com.br> =====
>On Fri, Apr 15, 2005 at 02:34:15PM -0400, Hussein Vastani wrote:
>> How do I know if a Cntrl + Click was pressed in a treeview?
>I _believe_ it's just a matter of hooking to button_press_event (instead
>of key_press_event) -- the control mask should be set on the event,
>I think there is another option you can use by inspecting the gdk window
>and then checking to see if control is pressed -- Gustavo, do you
>remember how this is done?
>Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
More information about the pygtk