On 09/12/2012 12:21 PM, Rudra Banerjee wrote:
[..]
> 
>   strAuth = gtk_entry_get_text(GTK_ENTRY(e->entryAuth));
>     strEditor = gtk_entry_get_text(GTK_ENTRY(e->entryEditor));
> 
> 
> Is it possible to add these strAuth, strEditor in those treeview's 1st
> and 2nd column?

just acquire an iterator at the right position, and set the columns, for
example

gtk_tree_model_get_iter_first(GTK_TREE_MODEL(treestore), &iter);
gtk_tree_store_set(treestore, &iter,
                      COL_FIRST_NAME, strAuth,
                      COL_LAST_NAME, strEditor,
                      -1);

regards,
Olivier

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to