Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!ncar!ico!attc!marbru From: marbru@attc.UUCP (Martin Brunecky) Newsgroups: comp.windows.x.motif Subject: Re: Need source to any Motif widget Keywords: HELP! Message-ID: <907@attc.UUCP> Date: 23 Nov 90 20:32:41 GMT References: <241@n4hgf.Mt-Park.GA.US> Reply-To: marbru@auto-trol.UUCP (Martin Brunecky) Distribution: usa Organization: Auto-trol Technology, Denver Lines: 22 In article <241@n4hgf.Mt-Park.GA.US> wht@n4hgf.Mt-Park.GA.US (Warren Tucker) writes: >I urgently need the source to any Motif widget for an emergency >ramp-up on widget writing a-la-Motif. I am a reasonably educated >Xlib person and Xm *user*, but now I gotta write a widget by >Monday 11/26. If you have never written a widget, you better use XmDrawArea to accomplish what you want. For any specific input, you can always use XtAddActions. Trying to learn how to write a widget in two days is ... ambicious. But if you really want to do it, use Dave Young's book. There is nothing terribly Motif-dependent in your widget. You don't even have to subclass of XmPrimitive, since you won't use any of its resources anyway. The only things that make Motif widgets writing a sorrow experience are related to Motif traversal - I doubt you need it. -- =*= Opinions presented here are solely of my own and not those of Auto-trol =*= Martin Brunecky [BORN TO BASH UIL] marbru@auto-trol.COM (303) 252-2499 {...}ncar!ico!auto-trol!marbru Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404