GtkTreeView, Multiselect and editable CellRenderer
- From: Philip Lawatsch <philip lawatsch at>
- To: gtk-list gnome org
- Subject: GtkTreeView, Multiselect and editable CellRenderer
- Date: Sun, 13 Aug 2006 17:48:49 +0200
Hi,
I've got a really simple data model for my TreeView, basically it's just
a list with 2 colums, one of which is editable.
Now one thing that would be nice to have is to select more than one row
and set the value of all selected rows to a new value by editing the
text in one CellRenderer.
Is this supported by GtkTreeView? I thought it was not, but now I found
out that I can actually do this (for CellRendererText) by
.) Selecting the rows
.) DoubleClicking onto the renderer with the alt key held down
.) Clicking with alt released once more.
In this I get the callback from the renderer I edited and then can use
the selections to find out which rows were selected.
Timing constraints for the click sequence however are very tight so I'm
not sure if this is intended behaviour or a bug.
So, is there any support for editing several cells / rows at once?
kind regards Philip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]