multiple selection and drag-n-drop
I suppose somebody else must have come across this issue -- and if so I'd be grateful for any ideas. I have a treeview in which GTK_SELECTION_MULTIPLE is enabled. And there's a meaning attached to dragging elements from this treeview to another window. The design problem is that if the user has selected multiple elements in the treeview (using shift- or ctrl-click), and then she presses the mouse button to start a drag, that press undoes the multiple selection, and only the element directly under the mouse pointer actually gets dragged. Is there a standard way of handling this? -- Allin Cottrell Department of Economics Wake Forest University, NC ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: multiple selection and drag-n-drop
On Thu, Aug 23, 2007 at 10:29:47AM -0400, Allin Cottrell wrote: I suppose somebody else must have come across this issue -- and if so I'd be grateful for any ideas. I have a treeview in which GTK_SELECTION_MULTIPLE is enabled. And there's a meaning attached to dragging elements from this treeview to another window. The design problem is that if the user has selected multiple elements in the treeview (using shift- or ctrl-click), and then she presses the mouse button to start a drag, that press undoes the multiple selection, and only the element directly under the mouse pointer actually gets dragged. A very old bug. See http://bugzilla.gnome.org/show_bug.cgi?id=70479 Yeti -- http://gwyddion.net/ ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: multiple selection and drag-n-drop
On Thu, 23 Aug 2007, David Ne?as (Yeti) wrote: On Thu, Aug 23, 2007 at 10:29:47AM -0400, Allin Cottrell wrote: I suppose somebody else must have come across this issue -- and if so I'd be grateful for any ideas. I have a treeview in which GTK_SELECTION_MULTIPLE is enabled. And there's a meaning attached to dragging elements from this treeview to another window. The design problem is that if the user has selected multiple elements in the treeview (using shift- or ctrl-click), and then she presses the mouse button to start a drag, that press undoes the multiple selection, and only the element directly under the mouse pointer actually gets dragged. A very old bug. See http://bugzilla.gnome.org/show_bug.cgi?id=70479 Ah, I see. Thanks. Allin Cottrell ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list