Re: how to add button inside the treview list

2008-12-16 Thread prasadam kumar
Hi Viven, As you suggested i have tried with the GtkCellRendererText, using this i am able to paint the button box into the cell but i am unable to put the text on top of the painted button, please some body help me out how to render the text on the button. Please find the code in attachment. Th

Re: how to add button inside the treview list

2008-12-16 Thread Vivien Malerba
AFAIK, you can't display a button in a treeview column (no GtkCellRenderer exist for this). Also having buttons for each row would make the treeview not as much useable as it is now because each button would consume ressources (memory and X ressources), and it is not how GtkCellRenders are designed

how to add button inside the treview list

2008-12-16 Thread prasadam kumar
Hi, I am unable to find the way to add the button inside the treeview using GTK 'C' bindings. I am able to insert pixbuf,togglebuttons,processbar inside the treeview, but according to my requirement i have to put Button inside the treeview. I have not found any API related to button with treeview