From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,91c9fecfd085bbb5 X-Google-Attributes: gid103376,public From: tmoran@bix.com (Tom Moran) Subject: Re: Ada 95 Windows GUI Classes Date: 1999/06/22 Message-ID: <376efded.11463594@news.pacbell.net>#1/1 X-Deja-AN: 492361429 References: X-Complaints-To: abuse@pacbell.net X-Trace: typhoon-sf.snfc21.pbi.net 930020946 206.170.2.205 (Mon, 21 Jun 1999 20:09:06 PDT) Organization: SBC Internet Services NNTP-Posting-Date: Mon, 21 Jun 1999 20:09:06 PDT Newsgroups: comp.lang.ada Date: 1999-06-22T00:00:00+00:00 List-Id: > Choice 1 could be *CLAW* (commercial) or *Windex* (in progres). If > designed in a OO fashion, one can imagine inheriting from the base > application class, modifying it and decorating it with > other objects. Slight correction: Claw does not have an *application* object to modify/decorate. It instead has system objects which your app can use/extend as needed. Thus there is a Basic_Window_Type which will call, for instance, procedure When_Mousemove when the mouse moves. If you need to actually use the mouse, you would declare your own "type Window_Type is new ..." and supply your own When_Mousemove, which gets called whenever the mouse moves. Similarly there is a (class of) Socket_Type, Menu_Type, etc etc. > 2. Use a UI designer that generator the code implementing the UI >... Choice 2 is my ideal solution. ... > The Knoware tools are an example. Alas, there are no such tools > yet for Ada. The closest thing is currently *RAPID*. Actually, Claw comes nowadays with CBuild, a visual GUI designer that will generate code using Claw plus your own code. It may not fit everyone's idea of an "ideal solution", but it certainly goes a long way. ;)