[glade--]RE : [Glade-devel] Re: glade code generation
- From: "Joaquin Cuenca Abela" <e98cuenc free fr>
- To: <murrayc usa net>
- Cc: "'Gnome Hackers'" <gnome-hackers gnome org>, <glade-devel ximian com>, <glademm-list gnome org>
- Subject: [glade--]RE : [Glade-devel] Re: glade code generation
- Date: Sat, 8 Mar 2003 15:26:50 +0100
Murray wrote:
>
> > but in fact, you can't do much better if you generate code.
>
> C++ has the concept of inheritance. glademm generates only
> base classes.
> User-written code is in user-written derived classes.
That's irrelevant. The question is: what happens when the user edits
code that he shouldn't edit and later it regenerates this code?
Two different places to put the same info is one too much, and as the
task of extract the information from a .glade file is several orders of
magnitude easier than extracting it from the code, .glade files should
be used.
I still see useful (for those who don't like an extra dependency) a
utility that converts a .glade file to [pick you language] code,
hopefully one that, with enough makefile's magic can do the conversion
automatically at compilation time (kind of like the RC compiler on
windows).
But that's out of glade's scope.
Cheers,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]