Gtk::SELECTION_SINGLE ignored
| From: | Pistiolis Konstantinos | Date: | Sat, 26 May 2007 10:49:55 +0000 |
| Subject: | Gtk::SELECTION_SINGLE ignored | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-7872@lists.php.net to get a copy of this message | ||
Hi everyone.
I have a GtkTreeView displaying a tree model and I want to be able to
deselect the currently selected item. I tried to call
$selection->set_mode(Gtk::SELECTION_SINGLE);
but it no deselection is possible neither by clicking on the
selected element itself nor on the free area of the treeview.
It seems to me that Gtk::SELECTION_SINGLE works exactly like
Gtk::SELECTION_BROWSE is supposed to work.
Is this supposed to work like that or is it a bug?
Pistiolis Konstantinos