Initilize a filter
- From: Bellicano Pascal <pascal_bellicano yahoo fr>
- To: gtk-app-devel-list gnome org
- Subject: Initilize a filter
- Date: Wed, 22 Mar 2006 11:20:50 +0100
Here is my code :
GtkTreeModel *filter_model;
filter_model=gtk_tree_model_filter_new
(GTK_TREE_MODEL(store_ori),
NULL);
GtkTreeModelFilter *filter;
gtk_tree_model_filter_clear_cache(filter);
gtk_tree_view_set_model (GTK_TREE_VIEW(tree_view),
GTK_TREE_MODEL (filter_model));
...........
gtk_tree_model_filter_set_visible_column
(GTK_TREE_MODEL_FILTER(filter),7);
..........
(store_ori is a liststore)
gcc complains about filter not initialised.. ok but how to initialize it ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]