drag selection in gtk2-treweview?
- From: Björn Martensen <bjoern martensen gmail com>
- To: gtk-devel-list gnome org
- Subject: drag selection in gtk2-treweview?
- Date: Thu, 21 Jul 2005 12:23:39 +0200
Hi,
I would like to know, if there is some kind of dragging-selection for
the gtk2 treeview, as there is for the deprecated clist.
At the moment I use a workaround in which I save the first selected row
and in motion-notify I unselect all rows and reselect the range between
the saved first row and the current row, to have all rows between the
first I clicked and the one which currently has the cursor selected.
It works as I want it to, but it uses way too much cpu power, as
everything is unselected and reselected and checked if the path is
defined for every pixel I move the mouse..
I've seen this kind of drag selection in other programs, but they all
use the deprecated clist, and we use the newer treeview, for which I
haven't found anything like that yet.
perhaps you could help me with this problem.
thx & greets
Björn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]