hooking it to button_press_event worked for me. Thanks :) -h
>===== Original Message From Christian Robottom Reis <[EMAIL PROTECTED]> ===== >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? > >Look at > > http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq05.005.htp > >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, >regardless. > >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? > >Take care, >-- >Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331 _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
