Re: select more than one row in TreeView
- From: Michael Hartmann <michael hartmann as-netz de>
- To: gtk-perl-list gnome org
- Subject: Re: select more than one row in TreeView
- Date: Sun, 8 Oct 2006 22:26:46 +0200
Hi,
Am Sonntag, 8. Oktober 2006 21:34 schrieb Torsten Schoenfeld:
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;
Thank you for your advice.
--Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]