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,3ed4c57426e16006 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: GtkAda using Glade Date: Thu, 19 May 2011 07:18:41 +0200 Organization: A noiseless patient Spider Message-ID: References: <15ff2ec1-5a2b-4d24-8aab-cf7985b6374f@t19g2000yql.googlegroups.com> <2e496d2c-f12f-4961-981b-2162fdf1ce1e@k3g2000prl.googlegroups.com> <1vakqa4gwjxry$.9j72428ewqp0.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 19 May 2011 05:18:39 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="cJo7kSTQUrCFv2/D8KKtqw"; logging-data="30571"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+C6j6bncc6rfbp9jJD5KGh" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:EmEUGubj1p+eg8v/TXz7RHBy2D0= Xref: g2news2.google.com comp.lang.ada:20285 Date: 2011-05-19T07:18:41+02:00 List-Id: Le 18/05/2011 20:24, Gary a �crit : > Are you suggesting that I dismiss the use of Glade as well or just > Gate? I know Gate converts the XML file to Ada source code, so are you > saying I should keep the XML file and load it at runtime using > Libglade... or that I should write the GUI code using "raw" GTK? > I told you not to listen to daemons ;-) ... Personnaly, I see no benefit in generating by hand, with lots of trial and error, what can be generated automatically. Yes, the code generated by Gate is a skeleton that you have to beef up. But it saves you a lot of errors; attaching signals f.e. is complicated enough... Moreover, looking at the generated code is very instructive. Now, it depends if you want to have your GUI ok rapidly, or want to play (or learn) more. YMMV. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a d�m�nag� / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00