Re: Modify behaviour to select more than one item in GtkListStore
- From: Emmanuele Bassi <bassi-e libero it>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Modify behaviour to select more than one item in GtkListStore
- Date: Thu, 20 Feb 2003 18:29:06 +0100
* Emmanuel Di Pretoro <edipreto skynet be>:
Hi,
I want to modify the behaviour of my GtkTreeView/GtkListStore. I can
select more than one item, but I don't want to use 'Ctrl+Click' to
select another item.
Cfr. GtkTreeSelection:
GtkTreeView *tree_view;
GtkTreeSelection *selection;
selection = gtk_tree_view_get_selection (tree_view);
gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE);
This should work as you wish.
Regards,
Emmanuele.
--
Emmanuele Bassi (Zefram) [ http://digilander.iol.it/ebassi/ ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]