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,f26a27628ab2a2fe X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.241.37 with SMTP id wf5mr1615172pbc.4.1330072816795; Fri, 24 Feb 2012 00:40:16 -0800 (PST) Path: h9ni3106pbe.0!nntp.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: help building ada with glade Date: Fri, 24 Feb 2012 09:39:58 +0100 Organization: cbb software GmbH Message-ID: <1dfmw0tj24ol0.pdfi51pextgu$.dlg@40tude.net> References: <66ce64dd-1428-4db1-8d0e-a4ba68f9f09d@e27g2000vbu.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="iso-8859-1" Content-Transfer-Encoding: 8bit Date: 2012-02-24T09:39:58+01:00 List-Id: On Fri, 24 Feb 2012 06:53:57 +0100, J-P. Rosen wrote: > Le 23/02/2012 09:44, Dmitry A. Kazakov a �crit : >> If you want to learn/use Gtk, forget about GLADE. Don't invest much in >> examples, only if you are stuck. Start to write your application. Don't >> think about perfection. Gtk is not a kind of thing you could do much >> upfront. Just make it working, improve incrementally... >> > YMMV. I did learn Gtk by generating simple applications with Glade and > looking at the generated code. This lowers the height of the first step > to get something working a lot. I doubt that code generated by GLADE illustrates issues essential for dealing with GTK: objects (GObject), values (GValue), signals, containers (packing), MVC (in trees, combos, text buffers). I doubt that any generated code could help learning anything. > Glade is quite nice for casual GUIs (maybe not if you want something > really sophisticated). Why do you think otherwise? I don't believe that a GUI project can be assisted with GLADE, which presumes its ability to incorporate user made modifications of the generated code. GTK is simply unsuitable for this. It is too low level, too messy. It lacks any means to separate the UI from the semantics. Ergo, no need to look into any generator (I admit, I don't know GLADE well), none can be good for GTK. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de