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,ffe4fb1477fe67e6 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Newbie Needs Ada Advice Date: Mon, 07 May 2007 10:42:58 +0300 Message-ID: <5a83k2F2ng7ugU1@mid.individual.net> References: <1178212418.538270.283700@c35g2000hsg.googlegroups.com> <1fk217327jjhg$.r7isisod1xdf.dlg@40tude.net> <1178487981.388876.45930@w5g2000hsg.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net sIQyU03GEzU0K4EEXhU3JwZ4sWWpcAHlHLTeSxOMwdD4Hmh4Q= User-Agent: KNode/0.10.4 Xref: g2news1.google.com comp.lang.ada:15609 Date: 2007-05-07T10:42:58+03:00 List-Id: ezkcdude wrote: > I have a couple more questions. I was reading about Tk as a cross- > platform GUI toolkit, and there is an Ada binding called TASH. This > seems like an interesting way to go. Have any of you guys used TASH or > Tk from Ada? Also, would GtkAda/GLADE be cross-platform? Ideally, I'd > like to write code that could be ported to Linux/OS X (and Windows > obviously). Thanks. No experience with TASH here. GtkAda works in Linux and Windows at least; no idea about OSX. However, it is too bulky for my tastes, in the sense that you need lots of glue code for the simplest callback. Then, I don't like either the look of GTK+ (there are L'n'Feels I guess) and working with TreeViews is another tiring process (but the C++ examples show that this is not the fault of GtkAda). That said, I've seen great looking apps written with GtkAda (one for xfig figures and another one for musical scales, whose names I don't remember right now, are the first ones that come to my mind). Recently was an announcemente of a Qt binding, so there are two different ones out right now I think, but can't say about its maturity. I remember from my C++ days that Qt was easy to use... but how well this traslates to the Ada side I don't know. The approach I've used for my last projects that required a GUI were either very simple (and ugly) ones with GtkAda or a web interface using AWS. If you don't need quick refresh, this last approach is completely cross-platform, easy to learn and program and you can use any HTML editor for the static parts. The template engine is easy to use and has been powerful enough for everything I've needed. Also you can embed in the executable all needed files.