Re: populate gtk tree view from outside
- From: Olivier Sessink <oliviersessink gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: populate gtk tree view from outside
- Date: Wed, 12 Sep 2012 21:31:04 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]