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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,26a21b9e317dc639 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.180.74.79 with SMTP id r15mr642963wiv.4.1353579867534; Thu, 22 Nov 2012 02:24:27 -0800 (PST) Path: q13ni14742wii.0!nntp.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Access type to member procedure of instance (Object Oriented programming in Ada) Date: Thu, 22 Nov 2012 11:25:05 +0100 Organization: cbb software GmbH Message-ID: References: <9b0bcb37-8ae3-440f-af4f-a796702e4250@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-11-22T11:25:05+01:00 List-Id: On Thu, 22 Nov 2012 01:47:39 -0800 (PST), ake.ragnar.dahlgren@gmail.com wrote: > As for the Gtkada application I have given up on implementing the MVC > pattern using tagged types. Could you provide more details? Gtk (and so GtkAda) deploys MVC. E.g. Gtk combo boxes, tree views, column renderers are all using the MVC pattern. > Instead I choose the same approach as was done > in the Ada in Denmark wiki. It is unclear what are the differences, but MVC is a real help when dealing with Gtk and GUI in general. GtkAda should not pose any difficulties for MVC. (You don't need pointers to members for MVC, plain pointers to objects are sufficient) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de