2009/10/22 Lars Wirzenius <l...@liw.fi>:
> * when you create and add the menu item, keep a reference to it
>
> * when you remove it, call the function to remove a child from the
> container; with the Python binding's it's just the .remove(menuitem)
> method, but in C I guess it's gtk_container_remove.

Actually, you can just search for the item and destroy it with
gtk_widget_destroy(). _destroy() will automatically unlink widgets
from their containers.

John
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to