hwa@ece-csc.UUCP (George Hwa) (04/28/89)
I am having a liitle trouble with my application getting hung in a call to XtCreateManagedWidget, i.e. XtCreateManagedWidget never returns. The widget I am trying to create is a label widget with a bitmap as the label. This is the child of a popup I created using XtCreatePopupShell. Below is an abridged listing of the program. pop = XtCreatePopupShell(name,wmShellWidgetClass,toplevel,NULL,0); ... some drawing to create the bitmap ... n = 0; XtSetArg(arg[n],XtNbitmap,bitmap); n++; XtCreateManagedWidget(name,labelWidgetClass,pop,arg,n); XtPopup(pop,XtGrabNone); ... I put printf statements right before and right after the call to XtCreateManagedWidget and the printf right afterwards is never reached. Anybody have any idea why XtCreateManagedWidget never returns? Any help would be greatly appreciated. Thanks in advance. Russ Cook NC State University hwa@ece-csc.ncsu.edu
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (05/06/89)
> I am having a liitle trouble with my application getting hung in > a call to XtCreateManagedWidget, i.e. XtCreateManagedWidget never returns. > Anybody have any idea why XtCreateManagedWidget never returns? > Any help would be greatly appreciated. I have never seen this happen and I have been using Xt for about 2 years now. If you send me an example program that demonstrates this behavior I will take a look at it. Has anyone else had this happen to them? Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213