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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA 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.221.4 with SMTP id qa4mr3815294pbc.7.1330125125927; Fri, 24 Feb 2012 15:12:05 -0800 (PST) Path: h9ni5377pbe.0!nntp.google.com!news1.google.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: help building ada with glade Date: Sat, 25 Feb 2012 00:12:06 +0100 Organization: A noiseless patient Spider Message-ID: References: <66ce64dd-1428-4db1-8d0e-a4ba68f9f09d@e27g2000vbu.googlegroups.com> <1dfmw0tj24ol0.pdfi51pextgu$.dlg@40tude.net> Mime-Version: 1.0 Injection-Date: Fri, 24 Feb 2012 23:12:05 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="cJo7kSTQUrCFv2/D8KKtqw"; logging-data="16471"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19xCYE5cTKILWp1VnZDhmiO" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: <1dfmw0tj24ol0.pdfi51pextgu$.dlg@40tude.net> Cancel-Lock: sha1:GDalrzrahkPTnWfwEK8o/LZPYOY= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: 2012-02-25T00:12:06+01:00 List-Id: Le 24/02/2012 09:39, Dmitry A. Kazakov a �crit : > 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). Exactly. Glade protects me from all that complicated mess. If I want an action on button pressed, I select the action in Glade, and I just have to fill the body of a subprogram named On_Key_Pressed. You may argue that I don't learn the intrinsics of Gtk this way, fine, but I prefer not to have to. > 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. > Please use it first. A nice thing with Glade is precisely that the semantics is well separated from all the glue, and (on Linux at least) it is able to make round-trip engineering (i.e. : if you add stuff to what has been generated, it is not lost the next time you regenerate your interface). -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr