Re: Treeview multiple selection behaviour



On Sun, 2003-09-14 at 11:23, Victor Mierla wrote:
> Hi people
> 
> I'm writing a file-manager program which has 2 treeviews.
> I want to drag and drop files from one treeview to another.
> So i select 10 rows from 1 treeview for dragging.
> 
> But the treeview unselects all files when i click on selection. (GDK_BUTTON_PRESS).
> Don't you believe it would be a normal behaviour for the treeview to unselect the selected rows at the release of the button (GDK_BUTTON_RELEASE)?
> 
> How am i supposed to drag not just 1 file but a selection??
> Every other interfaces(QT,win,etc) works like this, only GTK has this problem.
> I've seen that nautilus solved this problem somehow.

The "regular" GtkTreeView doesn't support this yet. Nautilus has code to
"extend" / work around this issue. Your only option at this moment is to
look at the Nautilus code and implement something likewise in your
program.

(If there's time left I might want to try to implement multirow DnD in
GTK+ for 2.4.)


	-Kris

> 
> 
> Could you help me,pls?
> 
> 
> 
> Thanks 
> --
> 
> RUK;
> #!/bin/ssh
> #The Unix Guru's View of Sex
> unzip ; strip ; touch ; grep ; finger ; mount ; fsck; more ; yes ; umount ; sleep
> 
> 
> Acest email a fost trimis din interfata web http://www.bumerang.ro
> 
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list



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