From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: GtkAda using Glade
Date: Wed, 18 May 2011 22:19:42 +0200
Date: 2011-05-18T22:19:40+02:00 [thread overview]
Message-ID: <1npn5zwqehpsz.1lqame09nycx1.dlg@40tude.net> (raw)
In-Reply-To: f5f983eb-bfbf-4256-aa24-4613a9ecc22f@h9g2000yqk.googlegroups.com
On Wed, 18 May 2011 11:24:11 -0700 (PDT), Gary wrote:
>> Having reached the level of understanding to tell if the code looks wrong,
>> why would anybody use Gate? (:-)) Seriously, sooner you ditch the crutches,
>> sooner you start walking...
>
> Are you suggesting that I dismiss the use of Glade as well or just
> Gate?
I am afraid, both. At some stage you will be forced to dismiss them anyway.
Granted, I never looked at them. That is because I had experience with
other GUI generators before. So when I started to learn Gtk I didn't even
bother to look.
> 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...
XML is a pest. There is no single case where it might be useful or at least
neutral.
If you want some sort of serialization/persistency, skins, localization of
a Gtk application, these are complicated issues to be carefully planed. In
your place I would first experiment with Gtk, before going into this.
> or that I should write the GUI code using "raw" GTK?
Yes, at least to be able to debug it.
>> See here for a minimal GtkAda application:
>>
>> http://rosettacode.org/wiki/Simple_windowed_application#Ada
>
> This sample app uses GTK code in the source so I am guessing that you
> are not in favor of Glade as well as Gate. Am I making the correct
> assumption?
Absolutely. Gtk is a very complex thing. I cannot imagine how a code
generator could be used for TreeView, Gdk, Cairo etc. It has no chance.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2011-05-18 20:19 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-17 23:58 GtkAda using Glade Gary
2011-05-18 1:14 ` John B. Matthews
2011-05-18 11:56 ` J-P. Rosen
2011-05-18 13:58 ` Gary
2011-05-18 17:25 ` Dmitry A. Kazakov
2011-05-18 18:24 ` Gary
2011-05-18 18:27 ` Ludovic Brenta
2011-05-18 18:42 ` Gary
2011-05-18 21:54 ` Ludovic Brenta
2011-05-18 22:09 ` Gary
2011-05-18 23:15 ` Ludovic Brenta
2011-05-19 1:52 ` Gary
2011-05-19 5:25 ` J-P. Rosen
2011-05-19 9:23 ` Manuel Collado
2011-05-19 9:57 ` J-P. Rosen
2011-05-18 20:19 ` Dmitry A. Kazakov [this message]
2011-05-18 20:45 ` Gary
2011-05-19 7:36 ` Dmitry A. Kazakov
2011-05-19 10:02 ` J-P. Rosen
2011-05-19 10:28 ` Dmitry A. Kazakov
2011-05-19 15:53 ` J-P. Rosen
2011-05-19 22:57 ` Gary
2011-05-20 0:54 ` Yannick Duchêne (Hibou57)
2011-05-20 1:41 ` Nasser M. Abbasi
2011-05-20 7:19 ` Dmitry A. Kazakov
2011-05-20 7:34 ` Nasser M. Abbasi
2011-05-20 7:45 ` Dmitry A. Kazakov
2011-05-20 0:26 ` Gautier write-only
2011-05-20 7:25 ` Dmitry A. Kazakov
2011-05-20 9:50 ` Yannick Duchêne (Hibou57)
2011-05-22 6:22 ` Gautier write-only
2011-05-22 7:04 ` Gautier write-only
2011-05-22 8:16 ` Dmitry A. Kazakov
2011-05-20 0:49 ` Yannick Duchêne (Hibou57)
2011-05-20 7:36 ` Dmitry A. Kazakov
2011-05-20 8:01 ` Georg Bauhaus
2011-05-20 10:00 ` Yannick Duchêne (Hibou57)
2011-05-20 12:55 ` Georg Bauhaus
2011-05-19 5:18 ` J-P. Rosen
2011-05-19 5:12 ` J-P. Rosen
2011-05-18 23:31 ` Rick
2011-05-19 1:52 ` Gary
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox