Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!hplabs!hplabsz!mayer From: mayer@hplabsz.HPL.HP.COM (Niels Mayer) Newsgroups: comp.windows.x Subject: Re: Motif Message-ID: <6252@hplabsz.HPL.HP.COM> Date: 22 Nov 90 02:29:02 GMT References: <19901121005712.3.DFA@PLUM.SWW.Symbolics.COM> Reply-To: mayer@hplabs.hp.com (Niels Mayer) Organization: Hewlett-Packard Labs, Software & Systems Lab, Palo Alto, CA. Lines: 49 Summary: Expires: Sender: Followup-To: In article <19901121005712.3.DFA@PLUM.SWW.Symbolics.COM> dfa@WHITE.SWW.SYMBOLICS.COM (David F. Aronson) writes: >Does anybody know of a good source of some example X >programs using the Motif widget set? I am also looking >for any articles/books reviewing or comparing the Motif >widget set. Any help would be greatly appreciated. I suggest you purchase Doug Young's book "the X window system Programming and applications with Xt, OSF/Motif edition", and grab the examples from Doug's book, which are available via anon. ftp from expo.lcs.mit.edu in directory contrib. I think the file is somehting like young.examples.tar.Z.. You might also want to take a look at the example programs I distribute with my WINTERP interactive development and extension environment for Motif applications. The examples are written in WINTERP-Lisp, which is kind of like emacs-lisp except that UI primitives are implemented via Motif widgets rather than text-buffer operations. The lisp interpreter itself is based on David Betz's XLISP, which provides a simple OOP extension allowing you to easily subclass widgets, specialize them into application-objects, and even work-around lacunae in the widgets themselves. And since you work at Symbolics, you're probably not Lisp-phobic and like the elegance of using real programming languages, rather than kludging things up with C, X resources, and the various "user interface languages" being promoted. To give you an example of what's there, here are the names of the example programs in the winterp distribution: bitmap-br.lsp bitmap-br2.lsp calculator.lsp callbacks.lsp colorsetr.lsp dialogshel.lsp form-widg1.lsp form-widg2.lsp form-widg3.lsp getvalues.lsp graphcalc-options.lsp graphcalc-sliderdisp.lsp graphcalc.lsp grep-br.lsp helloworld.lsp identifier.lsp initialize.lsp interact.lsp list-test.lsp mail-br.lsp menu-ex.lsp mng-test.lsp pixmaps.lsp popen.lsp popup-menu.lsp radiobox1.lsp radiobox2.lsp rc-shell.lsp scale-widg.lsp scooter.lsp setvalues.lsp text.lsp trans.lsp w_ctrlpnl.lsp You may obtain the current source, documentation, and examples via anonymous ftp from host expo.lcs.mit.edu: in directory contrib/winterp you will find the compress(1)'d tar(1) file winterp-1.01.tar.Z. Slides, papers and further documentation can be found in directory contrib/winterp/papers. (In particular, you may be interested in a paper which will appear in an upcoming ACM SIGPLAN on Lisp, aka "Lisp Pointers") ------------------------------------------------------------------------------- Niels Mayer -- hplabs!mayer -- mayer@hplabs.hp.com Human-Computer Interaction Department Hewlett-Packard Laboratories Palo Alto, CA. *