On Mon, 2004-03-29 at 13:01, Toon Verstraelen wrote: > Hi, > > I've made a simple example in which I enable a drag_source and drag_destiantion > in an treeview. I used the gtk.gdk.BUTTON1_MASK to ensure that the user can only > drag with the left mouse button, but it seems that the user can use any button > to start the drag session. How can I prevent this?
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. -- 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/
