Re: populate gtk tree view from outside
- From: Rudra Banerjee <bnrj rudra yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: Re: populate gtk tree view from outside
- Date: Wed, 12 Sep 2012 21:57:45 +0100
Oliver,
Thanks a lot. Its working properly.
Only change that I have made is using gtk_tree_store_append in place of
gtk_tree_model_get_iter_first.
Thanks a lot again.
Regards,
On Wed, 2012-09-12 at 21:31 +0200, Olivier Sessink wrote:
On 09/12/2012 06:30 PM, Rudra Banerjee wrote:
Oliver,
Thanks for your reply.
The problem basically is to pass on the function argument from one to
other.
you need to create a header file (main.h) that has the enum, and
extern GtkListStore *treestore;
in main.c define GtkListStore *treestore; somewhere in the top of fthe
file, *not* inside a function.
then include this both in main.c and in otherfile.c like #include "main.h"
Olivier
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]