Hi, "David Wang (Wang Xin-lu)" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
