On 04/21/2005 02:22:44 AM, Santhosh wrote:
Hi,
Sorry for the late reply. I haven't checked my mails...
> Now , I did what you say (populate the thee in the same level), and
> every thing is working fine, except when I click in a element showed
> -> I get a SEGFAULT !!
It's probably bad data in the
Hi,
Sorry for the late reply. I haven't checked my mails...
> Now , I did what you say (populate the thee in the same level), and
> every thing is working fine, except when I click in a element showed
> -> I get a SEGFAULT !!
This is very abstract. Why don't you consider posting the code?
Regard
Hi Santhosh,
> > for (list = history_list->history, i = 0; list ; list =
> > list->next, i++) {
>
> > GtkTreeStore *store = GTK_TREE_STORE
>
> > (gtk_tree_view_get_model(GTK_TREE_VIEW(tree)));
>
> > gtk_tree_store_append(store, iter, NULL);
>
> Here a top-level
Hi,
> for (list = history_list->history, i = 0; list ; list =
> list->next, i++) {
> GtkTreeStore *store = GTK_TREE_STORE
> (gtk_tree_view_get_model(GTK_TREE_VIEW(tree)));
> gtk_tree_store_append(store, iter, NULL);
Here a top-level row is appended but no conten
Hi Peter,
> Well...in the code snippets you posted, the GtkTreeIter iter that
> you pass to add_to_node isn't initialized. Was that done
> elsewhere?
sorry, without this initialize I was getting a segfault :S ... in
fact, i'm doing something like this :
(...populating the tree...)
for
On 04/18/2005 04:57:27 PM, Antonio Gomes wrote:
Hi every one,
I'm getting some troubles to make datas appear in a gtk tree
store ... i'm pasting the piece of code in my app that is
resposible to create and populate the tree
[ code snipped ]
after all this code, there is no segfaults but nothin
Hi every one,
I'm getting some troubles to make datas appear in a gtk tree store ...
i'm pasting the piece of code in my app that is resposible to create
and populate the tree
(...)
/*Create store and columns */
store =
gtk_tree_store_new(1,G_TYPE_STRING);
dialog_widgets->tree =