Highlight the row of treeview
- From: rahul Katariya <rahulkattu yahoo co in>
- To: gtk-list gnome org
- Subject: Highlight the row of treeview
- Date: Tue, 23 Dec 2003 08:24:12 +0000 (GMT)
I am using one textbox & treeview in my application.
In textbox , i type number of the row of treeview .
I want to highlight the row , of that nr .
I am using this code . But it is not working .
======================================
GtkTreePath *path1;
GtkTreeSelection *selection;
GtkTreeModel *model;
GtkWidget *treeview;
GtkTreeIter iter;
treeview = lookup_widget(fifteenth_window,"var_treeview");
model = gtk_tree_view_get_model(GTK_TREE_VIEW(treeview));
gtk_tree_model_get_iter_from_string (model, &iter, search_list);
gtk_tree_model_row_changed(model,path1,&iter);
gtk_tree_path_free(path1);
==================================
Any help will be appreciated
Regards
Rahul..
Start Where U R ..
With What U Have ..
Make something About It ..
Never be satisfied ... => Gorge Karver
Yahoo! India Mobile: Ringtones, Wallpapers, Picture Messages and more.
Download now.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]