Path: utzoo!attcan!uunet!lll-winken!ames!ncar!redcloud!clyne From: clyne@redcloud.ucar.edu (John Clyne) Newsgroups: comp.windows.x Subject: question on XtCreateManagedWidget Message-ID: <1493@ncar.ucar.edu> Date: 28 Feb 89 20:39:56 GMT Sender: news@ncar.ucar.edu Reply-To: clyne@redcloud.ucar.edu.UUCP () Organization: Scientific Computing Division/NCAR, Boulder CO Lines: 27 I have a couple a questions about the Xt toolkit that I hope someone can answer. First, what is the difference/advantage between using the combination XtCreateWidget, XtManageChild and simply using XtCreateManagedWidget? Secondly, I am trying to supply a dialog widget from the Athena Widget set with default a width so that the dialog box comes up in a size that is likely to be able to hold the text input without resizing. The dialog widget is the child of a box widget. If I use pass the hardcoded width in an ArgList to XtCreateManagedWidget it is ignored. However, If I use XtSetValues to set the width immediately after I call XtCreateManagedWidget then the dialog box comes up with the dimension I gave it. Why is this? And what is the correct/acceptable protocol? thanks in advance - John clyne John Clyne (clyne@bierstadt.ucar.edu) c/o National Center for Atmospheric Research P.O. Box 3000 Boulder, Colorado 80307 (303) 497-1236 %%% Its a small world. But I wouldn't want to paint it %%% S. Wright %%% %%%