How to create a editable treeview
- From: padthmanabhan paddu <jpit2005 gmail com>
- To: gtk-app-devel-list gnome org
- Subject: How to create a editable treeview
- Date: Thu, 30 Apr 2009 11:12:05 +0530
Hi all,
I am new to this GTK technology , and i am trying to create an
tree view with two columns and it should get the input from an text
document, i need it like editable window. And this is the code
creating two columns in the tree view
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("ORIGINAL",
renderer,"text",COL_ORIGINAL,NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("TRANSLATED",
renderer, "text",COL_TRANSLATED, NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (treeview), column);
some assistance might help in this issue.
Regards,
paddu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]