comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: help building ada with glade
Date: Sat, 25 Feb 2012 00:12:06 +0100
Date: 2012-02-25T00:12:06+01:00	[thread overview]
Message-ID: <ji95g5$g2n$1@dont-email.me> (raw)
In-Reply-To: <1dfmw0tj24ol0.pdfi51pextgu$.dlg@40tude.net>

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



  reply	other threads:[~2012-02-24 23:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-22 23:43 help building ada with glade Patrick
2012-02-23  8:44 ` Dmitry A. Kazakov
2012-02-23  9:58   ` Patrick
2012-02-24  5:53   ` J-P. Rosen
2012-02-24  8:39     ` Dmitry A. Kazakov
2012-02-24 23:12       ` J-P. Rosen [this message]
2012-02-25  9:06         ` Dmitry A. Kazakov
2012-02-26  6:55           ` J-P. Rosen
2012-02-26  8:36             ` Dmitry A. Kazakov
2013-09-07 20:37               ` Patrick
2013-09-10  6:40           ` briot.emmanuel
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox