[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk
Subject: Re: Question about GtkWidget pointer?
From: Sven Neumann <sven () gimp ! org>
Date: 2002-07-31 8:37:33
[Download RAW message or body]
Hi,
"David Wang (Wang Xin-lu)" <davidwang@lucent.com> writes:
> I wrote a function to create menu:
> void setupMenu(GtkWidget *window, GtkWidget *menu_bar, GtkWidget *menu_vbox,
> GtkWidget *root_menu, GtkWidget *menu, char *labelname, gboolean boo)
> [...]
> why GtkWidget pointer can not take back value in a function?
> How can I do if I want to use the value initialized in a function?
this question is not at all GTK+ specific. Get yourself a book about C
and look for the subject "call by reference / call by value".
Salut, Sven
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic