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,8b7e315279c3f417 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.66.84.167 with SMTP id a7mr201552paz.6.1355822229743; Tue, 18 Dec 2012 01:17:09 -0800 (PST) Path: 6ni51152pbd.1!nntp.google.com!news.glorb.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Ada Library, called, returns and continues ? Date: Tue, 18 Dec 2012 10:17:57 +0100 Organization: cbb software GmbH Message-ID: <1i2sghp4ue0mm.1kozrtpxq33n1.dlg@40tude.net> References: <5ced9166-5a29-4ad2-8270-6d24ddd0d0a1@googlegroups.com> <1rz66cdo8v1hv.j9eyg9eqqide$.dlg@40tude.net> <87db4d95-56ce-4254-8031-7bbbea515ff3@googlegroups.com> <3bb4c9f9-7317-46c2-8ddf-a80a6706ce65@googlegroups.com> <6f3c34d9-504a-494c-9157-2cf2649e4776@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-12-18T10:17:57+01:00 List-Id: On Mon, 17 Dec 2012 15:42:35 -0800 (PST), Patrick wrote: > "I don't understand this. To use GTK outside GtkAda bindings? What for? " > > Yeah, I can understand this reaction, it is weird. Things might have > changed now but basically I couldn't understand the Ada binding in the > detail I wanted. Implementation of bindings or the way of using them? > I was thinking about writing a skeleton C application and > then binding Ada to it to sort of script it. I failed at the time. No wonder. C makes things only more complicated. If you have difficulties with Ada, multiply that by two for C, and once more by two for integration C and Ada components. > "in that case you should find a GUI framework for which there already exist > ready-to-use bindings. If I ever looked into Gtk sources then only for > finding Gtk bugs. It would be a horror scenario if looking into the sources > were required for daily GUI developing. Gtk is far from perfect but at > least this torture you are spared from. I am sure that the same could be > said about any other popular GUI framework. " > > Yes, I understand your logic. However if I ever have the time or acquire > the skills I would like to write an entire toolkit directly in Ada. I > think the only feasible way to do this is to port the code over from > another existing toolkit and to pick a very small one to port. I see, it is difficult to learn how to drive a car. In order to ease the process you decided to build a new car by yourself... (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de