List Info

Thread: How to edit a TreeViewColumn?




How to edit a TreeViewColumn?
user name
2006-10-09 22:32:26
Hi I have a TreeView list that has two columns
"Id" and "Name", I
would like to know how to edit the items in line, that is
type in the
treeview like it was an entry?

Thanks in advance!
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
How to edit a TreeViewColumn?
user name
2006-10-09 23:06:08
On Mon, Oct 09, 2006 at 07:32:26PM -0300, Carlos Adriano
Portes wrote:
> Hi I have a TreeView list that has two columns
"Id" and "Name", I
> would like to know how to edit the items in line, that
is type in the
> treeview like it was an entry?

You want to use CellRenderers that are set to be editable.
CellRendererText, CellRendererCombo, etc. all support this.
I have a
small boo example using gtk# that does this here:

http://b
az.medsphere.com/~peter/treeview.boo

-pete

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )