Path: utzoo!attcan!uunet!lll-winken!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hplabsz!mayer From: mayer@hplabsz.HPL.HP.COM (Niels Mayer) Newsgroups: comp.windows.x Subject: Re: Adding widgets to realized parents Message-ID: <2978@hplabsz.HPL.HP.COM> Date: 25 Feb 89 06:08:13 GMT References: <17668@genrad.UUCP> Reply-To: mayer@hplabs.hp.com (Niels Mayer) Organization: Hewlett-Packard Labs, Software Technology Lab, Palo Alto, CA. Lines: 24 Summary: Expires: Sender: Followup-To: In article <17668@genrad.UUCP> mag@genrad.UUCP (Michael A. Gray) writes: >Background: X11R2, Xt intrinsics, Hp widgets. > >Problem: When I add another widget (e.g a XwpushbuttonWidgetClass) >to a already realized parent using XtCreateWidget the change in >geometry needed does not bubble up to the top level shell. > I noticed the same problem in my widget interpreter shell using the R2 HP Xw and Xt -- since this program allows me to interactively access and change the layout and actions of widgets, it really stresses the widgets more than your average compiled widget program. I recently recompiled my program with the R3 Xw (pathes for R2-Xw --> R3-Xw were recently posted to this newsgroup) and the R3 Xt shipped form MIT. Using this seemed to fix a whole lotta problems that I'd been having due to widget bugs (failure to resize correctly, weird memory allocation errors in XtSetValues, etc, etc). Unfortunately, it's also introduced some weird problems stemming from the use of XtAddInpput that I'm still trying to work out. So give the new R3 Xw + R3 Xt a try. It seems to work well. -- Niels.