[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Setting data in a list store
- From: Brett Nash <nash nash nu>
- To: Mike Oliphant <oliphant mp3 com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Setting data in a list store
- Date: Thu, 29 May 2003 09:34:47 +1000
> if(gtk_tree_selection_get_selected(selection,&model,&iter)) {
> gtk_tree_model_get(model,&iter,TRACKLIST_NUM_COL,&data,-1);
>
> gtk_list_store_set(my_list_store,&iter,TRACKLIST_RIP_COL,TRUE,-1);
> }
Is my_list_store == GTK_TREE_STORE(model)? If not, that is probably the
problem. In any case, check that it is correct.
nash
>
> The call to get_tree_model_get() works fine. The call to
> gtk_list_store_set() just crashes. Am I misunderstading something here?
> Any help would be much appreciated.
>
> Mike
>
> --
> Mike Oliphant oliphant@mp3.com
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
--
Brett Nash <nash@nash.nu>
Sometimes it's better to light a flamethrower than curse the darkness.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]