🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36504

Re: two Motif questions

#36504
From: Rick Murphy
Date: Wed, 07 Feb 1990 15:19
28 lines
1890 bytes
> I am running Motif 1.0 on a Sun3, with SunOS 3.5.  I have been having two
> strange problems which I'm hoping someone else has run across.
> 
> 1) I can't get XtDisplay to work.  My program just hangs at (or just after)
> this call.  Instead, I've abandoned XtInitialize, and I'm using its 
> component parts, XtToolkitInitialize, XtOpenDisplay (from which I get the
> display returned) and XtAppCreateShell.  
> 
> 2) I can't get a list of the children of a composite widget (a
> bulletin_board, for instance).  I use the following code (cw is my
> composite widget):
> 
> ...deleted
> 
Both of these sound like they have a common cause:
Motif ships it's own set of the Xt Intrinsics, with associated header files.
They are *not* compatible with the X11R3 or R4 files! If you mix the Motif
intrinsics and the "standard" header files, you'll run into all sorts of
strangeness as your applications can't find the proper fields. I know that
XtDisplay broke for me before I figured this out.
	-Rick

Rick Murphy, WA1SPT/4                   Digital Equipment, Landover, MD
murphy@ufp.dco.dec.com                 (UFP stands for United Federation
                                         of Planets - not what *you* were
decwrl!ufp.dco!murphy                    thinking!)
Disclaimer: I don't even speak for myself - my wife does!
Technical Details
Message-ID: <2921@decuac.DEC.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari.oz.au!uhccux!ames!lll-winken!uwm.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!decuac!ufp.enet.dec.com!murphy
References: <9002070001.AA16562@ew.sei.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!munnari.oz.au!uhccux!ames!lll-winken!uwm.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!decuac!ufp.enet.dec.com!murphy
From: murphy@ufp.enet.dec.com (Rick Murphy)
Newsgroups: comp.windows.x
Subject: Re: two Motif questions
Message-ID: <2921@decuac.DEC.COM>
Date: 7 Feb 90 15:19:29 GMT
References: <9002070001.AA16562@ew.sei.cmu.edu>
Sender: guest@decuac.DEC.COM
Reply-To: murphy@ufp.enet.dec.com (Rick Murphy)
Organization: Digital Equipment Corporation, Landover MD
Lines: 28