[pygtk] treeview drag and drop problem
Toon Verstraelen
Toon.Verstraelen at UGent.be
Mon Mar 29 18:45:47 WST 2004
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
More information about the pygtk
mailing list