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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c32fe290813aec20 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!v4g2000hsf.googlegroups.com!not-for-mail From: Tomek Walkuski Newsgroups: comp.lang.ada Subject: Re: New Ada portable GUI Library? Date: Sat, 12 Jan 2008 12:40:13 -0800 (PST) Organization: http://groups.google.com Message-ID: <970df333-8c12-4f5d-b32b-ded6a84a0195@v4g2000hsf.googlegroups.com> References: <6d63c543-0a35-4c39-a330-98c63a24f64d@i3g2000hsf.googlegroups.com> <1365533.nRhg4MZKNK@linux1.krischik.com> <4e5ffa74-e1d6-4e80-9dd9-824df475a60c@e10g2000prf.googlegroups.com> NNTP-Posting-Host: 83.26.75.69 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1200170414 14505 127.0.0.1 (12 Jan 2008 20:40:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 12 Jan 2008 20:40:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v4g2000hsf.googlegroups.com; posting-host=83.26.75.69; posting-account=Ar5oKAoAAAD4cyp5eTv5CtR88dGtUxxC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.8.1.11) Gecko/20071204 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19362 Date: 2008-01-12T12:40:13-08:00 List-Id: On 12 Sty, 19:12, Lucretia wrote: > We have just had a similar conversation on #Ada (freenode) about this. > I think the best way is to create a very thin C lib which exports a > bunch of functions for manipulating the underlying GUI lib and then > build an Ada library on top of that. These C functions could, if you > wanted, for certain platforms be another Ada library which exports to > C (for compatibility to the above layer). This then allows binding to > a GUI which already has a decent Ada port and to those which don't. > > Luke. I think, there is no sense to do binding to wxWidgets. There should be "clean" implementation of something like wxWidgets. wxWidgets (and Java's SWT) use native GUIs, like GTK on Linux (I do not have any experience with Win32 API) which is already in C. I think that is necessary to prepare own (Ada) abstraction to various native toolkits.