Johan Dahlin wrote:
Of course, it was True and not False, so the following should do it:

def button_press_cb(tree, event):
    if event.button != 1:
        return True
tv.connect('button-press-event', button_press_cb)

Works great! Thank you very much! Is the return value of a event handler something one can always use to 'cancel' that event?


regards,

Toon
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to