> I tried to return False in the on_button_press event I connected to the
> treeview, but this has no effect. The event handler get's certainly called
> because I popup a menu when the user clicks a button (not in the example in my
> former mail, but in another appliction)
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)
--
Johan Dahlin <[EMAIL PROTECTED]>
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/