edit and use treeview cell

2013-01-24 Thread Rudra Banerjee
Friends, I am writing a gtk3(in C) code, that uses treeview. store = gtk_list_store_new (NUM_COLS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,

Re: edit and use treeview cell

2013-01-24 Thread David Nečas
On Thu, Jan 24, 2013 at 09:41:20AM +, Rudra Banerjee wrote: g_object_set(cell, editable, TRUE, NULL); but I have no idea of how to connect the edited flag to file/buffer. It will be very helpful if someone kindly show the way...a very short example may be. Have you read the tutorial?

Re: edit and use treeview cell

2013-01-24 Thread Rudra Banerjee
On Thu, 2013-01-24 at 10:45 +0100, David Nečas wrote: Have you read the tutorial? http://scentric.net/tutorial/sec-editable-cells.html David, Thanks for your reply. Yes, I have read that tutorial. After reading that I have learned how to make the cell editable. But the problem still

Re: edit and use treeview cell

2013-01-24 Thread zz
On Thursday 24 January 2013 11:02:37 Rudra Banerjee wrote: On Thu, 2013-01-24 at 10:45 +0100, David Nečas wrote: Have you read the tutorial? http://scentric.net/tutorial/sec-editable-cells.html David, Thanks for your reply. Yes, I have read that tutorial. After reading that I have

Re: edit and use treeview cell

2013-01-24 Thread Rudra Banerjee
Thanks ZZ, your code helped me making my code more general. Thanks a lot. Now I can edit the cells well. But my final goal is to write them in a file. I will check a bit and come back if I need further help. On Thu, 2013-01-24 at 15:18 +0100, z...@excite.it wrote: On Thursday 24 January 2013