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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5af5c381381ac5a7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!y4g2000yqy.googlegroups.com!not-for-mail From: Gautier write-only Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Thu, 10 Jun 2010 15:08:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: <710bb39f-3aeb-4c17-9ddf-13edceaa9e77@y4g2000yqy.googlegroups.com> References: <03f84a0a-e070-43a9-9b68-920345f64f94@r27g2000yqb.googlegroups.com> <1c704c1e-1b2e-427f-ae0e-3b2a0f976c7c@y4g2000yqy.googlegroups.com> <10855f68-76a1-4600-ba65-464dab6c6274@w12g2000yqj.googlegroups.com> <7cb03fe5-a65c-4f0b-bd9d-a071b905aad1@y11g2000yqm.googlegroups.com> <4c10baa2$0$6974$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: 81.62.7.120 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1276207693 16787 127.0.0.1 (10 Jun 2010 22:08:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 10 Jun 2010 22:08:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y4g2000yqy.googlegroups.com; posting-host=81.62.7.120; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:12588 Date: 2010-06-10T15:08:11-07:00 List-Id: On Jun 10, 12:12=A0pm, Georg Bauhaus wrote: > Will it, in theory, be possible to write a Qt-like library > in Ada such that client programs declare variables like > > =A0 =A0W : Some_Window'Class :=3D Some_Lib_Pack.Make (Typ =3D> Some_Id); > > That is, programs do not use access Some_Window'Class? In theory, I don't know, but in practice it is possible ;-). Look at GWindows for instance. And I'm sure (hum, why am I so sure ?...) that CLAW as well is a GUI library without need of accesses. At least on GWindows the only need I've seen, up to now, for accesses is when it comes to create an undetermined number of MDI windows (e.g. in the TeXCAD app). ______________________________________________________________ Gautier's Ada programming -- http://gautiersblog.blogspot.com/ NB: For a direct answer, e-mail address on the following web site: http://www.fechtenafz.ethz.ch/wm_email.htm