Re: Removing Menu Items
- From: Owen Taylor <otaylor redhat com>
- Cc: gtk-list redhat com
- Subject: Re: Removing Menu Items
- Date: 24 May 1999 10:39:59 -0400
"Daniel J. Kressin" <kressd11@sol.acs.uwosh.edu> writes:
> I've got a GtkWidget *menuitem (dynamically allocated), part of a menu
> named bob. What is the proper way to remove menuitem from bob and free
> the memory associated with menuitem? There's a gtk_menu_item_destroy
> function in gtkmenuitem.c, but it doesn't appear to be in any .h files.
gtk_widget_destroy (menuitem);
[ This will automatically remove the menuitem from its
parent container. ]
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]