Re: Which button is used on a drag?



> Okay, since I apparently can't get the information working entirely
> from on_drag_data_get and on_drag_data_received, I'm trying to capture
> that information in the initial click

I still think you shouldn't be defining what left and right drag mean.

> and retrieve it when the drag
> completes, but I've found something odd.  The button press handler for
> the main object (a TreeView) does not get called, though the button
> release handler is.

This should help:
http://bugzilla.gnome.org/show_bug.cgi?id=89780

And now that I see that you are talking about TreeView drag and drop,
you'll want to know that there's some API that might help you:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch08s06.html

>  If I try adding button press/release handlers to
> any of the other subwidgets (a Label and a ScrolledWindow), neither
> handler is called.  Any ideas what's going on?


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]