Re: Select contiguous?

From: Date: Fri, 15 Dec 2006 20:30:25 +0000
Subject: Re: Select contiguous?
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7517@lists.php.net to get a copy of this message
cohort wrote:
Scott Mattocks wrote:
cohort wrote:
Any suggestions on how to accomplish this?
Set the selection mode of your icon view to Gtk::SELECTION_MULTIPLE. This will allow the user to select multiple rows, but it won't force them to be contiguous. That's something you are going to have to enforce on your own if you really need it.
That's what I asked for in the first place. How do I enforce it?
"when the first in a range is clicked followed by shift-clicking the last in a range, selecting all that fall between." Anyway, when something is selected, check all the paths between the first and last item in the selection. If one of the paths isn't selected, throw an error. Scott

« previous php.gtk.general (#7517) next »