Path: utzoo!attcan!uunet!husc6!bloom-beacon!PLANCK.STANFORD.EDU!ike From: ike@PLANCK.STANFORD.EDU (Ike van Cruyningen) Newsgroups: comp.windows.x Subject: Re: Problem with Command widget Message-ID: <8809071822.AA21385@ATHENA.MIT.EDU> Date: 7 Sep 88 18:20:59 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 30 In article <8809021922.AA22023@hara.fctunl.rccn.pt> Salvador Pinto Abreu writes > The purpose is to have a set of buttons all the same size, > which looks nicer. I have created a subclass of the Command widget class which takes an additional resource flag `noResize'. When this flag is on, the widget will not try to resize itself, though it will still respond to resize commands from the parent. This widget class is normally part of the WidgetMaster package. At the core of the WidgetMaster package is an interpreter which will take a data file of widget specifications, and produce the user interface on the screen. Specifying widgets and their resources in a data file eliminates the repetitive coding of ArgLists, CallbackLists, resource converters, and other widget creation code. It also makes changes to the user interface much easier, as you simply edit the data file and rerun the application - no recompilation is required. If you would like the code for the subclass of the Command widget class, please send me E-mail and I will get it out to you. If you would like more information on the WidgetMaster package, please let me know. Ike van Cruyningen Stepping Stone Software 195 Oak Grove Road Menlo Park, CA 94025 415-329-9816