Re: Question about GtkWidget pointer?
- From: Sven Neumann <sven gimp org>
- To: davidwang lucent com
- Cc: gtk-list gnome org
- Subject: Re: Question about GtkWidget pointer?
- Date: 31 Jul 2002 10:37:33 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]