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 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-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!u-picardie.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Mon, 28 Jun 2010 21:13:24 -0500 Organization: Jacob Sparre Andersen Message-ID: 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: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1277777607 8529 69.95.181.76 (29 Jun 2010 02:13:27 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 29 Jun 2010 02:13:27 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Xref: g2news2.google.com comp.lang.ada:12948 Date: 2010-06-28T21:13:24-05:00 List-Id: "Simon Wright" wrote in message news:m2typ92z53.fsf@pushface.org... > "Randy Brukardt" writes: > >> declare >> My_Window : Claw.Basic_Window.Window; >> begin >> Global_Window.Replace_Element (Root_Window_Type'Class(My_Window)); >> end; > > So Claw.Basic_Window.Window isn't limited? > > Not immediately clear what the semantics of copying a window are (absent > any knowledge of Claw!) Right, it's not limited. In Claw, a window object provides a view of a window; there can be multiple views (via assignment, function return, or the like). Operations on a view generally are applied to the window itself (such as being moved or closed). If the last view of a window is finalized, then the window itself is destroyed. The advantage of non-limited windows should be fairly obvious: it's possible to pass a window as a parameter and save it somewhere. This is especially useful for passing windows to tasks at start-up (each task can have it's own window to write into). None of this requires any explicit access types as the client level - Claw itself manages these as needed. And that means no explicit storage management is needed, either. Randy,