Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!snorkelwacker!spdcc!tauxersvilli!alphalpha!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x Subject: Re: Motif Form widget question Message-ID: <1990Jun6.160009.24110@alphalpha.com> Date: 6 Jun 90 16:00:09 GMT References: <1990Jun1.205443.5062@Solbourne.COM> Organization: asi Lines: 37 In article <1990Jun1.205443.5062@Solbourne.COM> toml@ninja.Solbourne.COM (Tom LaStrange) writes: >I'm trying to learn this Motif thing and I'm cutting my teeth on >the Form widget. I want to create a Form widget and have three You *really* don't want to cut your teeth on the Form widget. It's much better for pulling them out. >If I create the children in the order A,B,C and attach B to A and C to B, >everything works fine. If I create them in the order C,B,A and attach B >to C and A to B, then the Form widget does not appear to size properly >to hold all the children. All I see is C unless I resize the thing. > >Is this a "feature" of the form widget that I haven't read about The problem with the Form widget is that it doesn't backtrack. It places the first thing and then goes forward from there. It can extend itself down as new things are added, and it can extend itself to the right. However to extend left or up it would have to go back and change all the previous widget coordinates to be in new locations - and it doesn't. I've tried making the modification myself, but I can't seem to get it to work. I'm not sure if you'd call that a bug or a feature, but it certainly should be changed. I have a Table widget from David Harrison at UCBerkeley that I have partially Motifized and that I find to be much more useful than Form, for doing much the same things. I'll be putting this out on the net sometime in the few weeks (after Usenix). -kee -- Alphalpha Software, Inc. | Join the motif mailing list! | 148 Scituate St. | motif[-request]@alphalpha.com | Arlington, MA 02174 |---------------------------------------| --------------------------------| nazgul@alphalpha.com | 617/646-7703 (voice/fax) | BBS: 617/641-3722 |