Re: Select contiguous?
| From: | Scott Mattocks | Date: | Fri, 15 Dec 2006 13:11:13 +0000 |
| Subject: | Re: Select contiguous? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7515@lists.php.net to get a copy of this message | ||
cohort wrote:
I'm using an iconview to show thumbnails of a group of image files to act upon, but one of the things I need to be able to do is form a contiguous selection -- when the first in a range is clicked followed by shift-clicking the last in a range, selecting all that fall between. 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. -- Scott Mattocks Author of: Pro PHP-GTK http://www.crisscott.com