Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!ispd-newsserver!ism.isc.com!uunet!elroy.jpl.nasa.gov!decwrl!csus.edu!csusac!unify!openlook!openlook-request Message-ID: Newsgroups: comp.windows.open-look Distribution: world Date: Sat, 15 Jun 91 09:18:55 BST From: uunet!uunet!westhawk!thp (Timothy H Panton.) Sender: news@Unify.Com Subject: Re: Subclassing OLIT widgets There was a talk at this year's X conference (given by Ralph Swick?) on this subject. It was a discussion of an attempt to sub-class some motif widgets without the source. He came to the conclusion it was impossible. My own experience is similar, we have written half a dozen new widget calsses of the last couple of years, and without exception I've needed the source, mostly just to look at, but sometimes to fix bugs. I'd add that if you are doing a commercial product you probably need the source to the widgets you are going to use anyway, irrespective of subclassing. OLIT does some strange stuff at startup which I had to work around, which would have been impossible to do without the source. As the source to OLIT is only ~$1k (say 2 days work) it will probably pay for itself on any project over about 1 Man month. Tim. +----------------------------------------------------------------------------+ |Tim Panton, Westhawk Ltd. "Do not meddle in the affairs of Wizards, for | |Phone: +44 928722574 they are subtle and quick to anger." | |Email: thp%westhawk.uucp@ukc.ac.uk The Lord of the Rings. | |Paper: Westhawk Ltd. 26 Rydal Grove, Helsby, Cheshire, WA6 OET. UK. | +----------------------------------------------------------------------------+