Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!gatech!ncsuvx!ece-csc!hwa From: hwa@ece-csc.UUCP (George Hwa) Newsgroups: comp.windows.x Subject: XtCreateManagedWidget Summary: XtCreateManagedWidget never returns Keywords: XtCreateManagedWidget, popup shell Message-ID: <4039@ece-csc.UUCP> Date: 27 Apr 89 17:03:13 GMT Reply-To: hwa@ece-csc.UUCP (Russ Cook) Distribution: usa Organization: North Carolina State University, Raleigh, NC Lines: 30 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