Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!bcm!etaylor From: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Newsgroups: comp.windows.x Subject: Re: MOTIF vs Athena. Practical to conditionalize? Message-ID: <3237@gazette.bcm.tmc.edu> Date: 18 Dec 90 16:12:59 GMT References: <3132@gazette.bcm.tmc.edu> <7036@mitech.com> <3165@gazette.bcm.tmc.edu> <1990Dec14.164540@ap.co.umist.ac.uk> <2024@metasoft.UUCP> Sender: usenet@bcm.tmc.edu Reply-To: etaylor@wilkins.iaims.bcm.tmc.edu (Eric Taylor) Organization: Baylor College of Medicine, Houston, Tx Lines: 32 Nntp-Posting-Host: wilkins.iaims.bcm.tmc.edu In article <2024@metasoft.UUCP>, alan@metasoft.UUCP (Alan Epstein) writes: |> |> ... |> >|> MOTIF is awfully dependent upon itself. It is very easy to use |> >|> Athena widgets in any other Xt-based toolkit, but not MOTIF. |> ... |> |> Does this mean that an application cannot use Motif and Athena |> widgets together, or that they cannot co-exist in the same widget |> hierarchy, or that sometimes there are problems with some |> organizations of these widgets? Well first of all, the MOTIF version I have requires its own version of Xt called Xtm. MAJOR bummer. However, I have been informed that there is a version of MOTIF that uses normal Xt. This being the case, you CAN put Athena widgets inside of MOTIF widgets and vice-versa, however, they won't always act like you want them to. IE You could never get a MOTIF toggle widget to align in anything other than one of the MOTIF layout managers. Layout managers should *NEVER* check the classes of its children or should the child widget check the class of its parent. This makes your widget very unfriendly and non-portable (sometimes). -- Eric Taylor Baylor College of Medicine etaylor@wilkins.bcm.tmc.edu (713) 798-3776