Re: My first GNOME app
- From: Damon Chaplin <damon helixcode com>
- To: Adriano Galano <adriano galano innosec es>
- Cc: gnome-list gnome org, gtk-list gnome org
- Subject: Re: My first GNOME app
- Date: Tue, 12 Sep 2000 15:16:13 +0100
Adriano Galano wrote:
>
> Hi:
>
> I try to develop my first GNOME/GTK app. I generate one framework with
> glade based in the GNOME app widget. Add it an CList Widget...until this
> moment is it OK.
>
> But, I need to append list to the clist component and glade generate a
> function named create_app and the clist Widget is local to this function
> (the function is in interfaces.c). Now I want to add the data obtained
> from a dialog box to my clist but I need to do that in main.c.
>
> What can I do?
Use the lookup_widget() function that Glade provides in the support.c file.
e.g.
window1 = create_window1 ();
clist = lookup_widget (window1, "clist1");
... add items to clist ...
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]