Re: Where do menus go when they "go away"?
- From: Havoc Pennington <hp redhat com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Where do menus go when they "go away"?
- Date: 13 May 2002 23:01:10 -0400
jseymour LinxNet com (Jim Seymour) writes:
This leads me to *suspect* that the space allocated for these isn't
free'd when they're dismissed--that the menu structures are still
sitting there, awaiting re-activation. That to truly make them go
away, you must do a gtk_widget_destroy() on their widgets.
Have I got this right?
Yes, for popup menus. The problem is that they don't have a "parent"
widget (most widgets go away with their parent). But popup menus are
like toplevel windows and must be destroyed explicitly.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]