GtkTreeView, Multiselect and editable CellRenderer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux