dsong@s.cs.uiuc.edu (11/09/89)
In the X Toolkit Athena Widgets, the dimensions of the command widget will not be automatically resized after the XtSetValues is called, even if the XtNresize is set to True. Chris. ------------------------------------------------------------------------------ Chris Song UUCP: uiucdcs!uxc!pluto!dsong U. of Illinois/Urbana-Champaign ARPANET: dsong@pluto.ncsa.uiuc.edu NCSA BITNET: dsong@ncsavmsa.bitnet 605 E. Springfield Ave. Champaign, IL 61820 Tel.: (217) 244-6353
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (11/10/89)
> In the X Toolkit Athena Widgets, the dimensions of the command widget > will not be automatically resized after the XtSetValues is called, > even if the XtNresize is set to True. Quite possibly. The Command widget will ATTEMPT to resize when XtSetValues is called, but the final decision is always up to its parent. The parent may decide to disallow any geometry changes. I suspect that this is happening to you, but without more information I cannot be sure. In order to understand how to properly lay out widgets your MUST understand how what the toolkit calls "geometry management". This is the negotiation that goes on between a child and a parent to determine where the children get placed and what size each is allowed to become. Take a look at the Xt Intrinsics Specification, Chapter 6. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213