Re: select more than one row in TreeView
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: select more than one row in TreeView
- Date: Sun, 08 Oct 2006 21:34:03 +0200
On Sun, 2006-10-08 at 21:26 +0200, Michael Hartmann wrote:
I have a Gtk2::TreeView with just one column containing text (Glib::String).
However I want to be able to select more than one row at a time. Is that
possible?
Yes. Set the selection mode to 'multiple' and use one of the various
selection methods. For example:
$view->get_selection->set_mode ('multiple');
$view->get_selection->select_all;
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]