[pygtk] treeview drag and drop problem

Christian Robottom Reis kiko at async.com.br
Mon Mar 29 21:16:03 WST 2004


On Mon, Mar 29, 2004 at 12:37:21PM +0200, Toon Verstraelen wrote:
> >Perhaps you can try to connect to button-press-event on the treeview and
> >filter out (by returning False IIRC) events on second and third mouse
> >button, or handle them in there, eg showing a popup or whatever.
> 
> I tried to return False in the on_button_press event I connected to the

I'm quite sure Johan meant return True there; return False is the same
as the default (implicit None) which indicates you want signal
processing to go on normally. I'm not sure this will solve your problem
though..

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331


More information about the pygtk mailing list