Google Answers Logo
View Question
Q: programming xwindows ( No Answer,   1 Comment )
Subject: programming xwindows
Category: Computers > Programming
Asked by: rich_1751-ga
List Price: $30.00
Posted: 29 Nov 2006 07:15 PST
Expires: 29 Dec 2006 07:15 PST
Question ID: 786549
How do i destroy a menu created with XmCreateSimplePopupMenu?
XtDestroyWidget doesnt remove the menu correctly.

Clarification of Question by rich_1751-ga on 30 Nov 2006 13:57 PST
XtUnrealizeWidget() before destroying does not work.
Destroy still crashes.

Using XtUnrealizeWidget without destroying, 
rightclick on parent window still puts
mouse into menu-selection mode (right-pointing arrow)
and xserver locks up.
Also tried these functions on XtParent( popup ).
There is no answer at this time.

Subject: Re: programming xwindows
From: frankcorrao-ga on 29 Nov 2006 10:41 PST
I'm not really an X guy, but maybe try XtUnrealizeWidget before
calling XtDestroyWidget.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy