Re: XML documentation for Glade files
- From: Bertus <bertus dries planet nl>
- To: İsmail Arılık <arilik ismail gmail com>
- Cc: glade-users-list gnome org, glade-devel-list gnome org
- Subject: Re: XML documentation for Glade files
- Date: Tue, 28 Apr 2020 09:21:06 +0200
Yes, it is a question, but I don't understand what you mean by
preprocess. Is that just use the GtkBuilder process because that
process just creates the things I want to avoid.
And it may possibly be an announcement because I want to try to
create such a program or at least give a kick off for such a
project.
Op 28-4-2020 om 8:19 schreef İsmail
Arılık:
Hi. Is it a how-to question or just an
announcement? If it is a question, I will suggest to preprocess
Glade files instead of converting them to Ada files. I think you
can achieve what you want by doing this.
To users and developers of Glade,
I am trying to write a Code Sketcher for Glade files which
translates The glade file to a series of Ada files that
create the Ada code which has the same result as the
GtkBuilder function.
The reason for this is:
- As I am writing several packages that use Dialog's I
want to develop in Glade I will have several Glade files
that must be reached by the program in which these
packages are used.
- As I am mostly writing multi language programs I am
using packages that enable me to change the language in
which the program shows itself to me and in which it
responds. That means that all strings that are used in
the glade file must be replaced by string variables for
instance "Open" replaced by Open_var(language) in which
Open_var an array of strings is with the string value
for a selected language.
So I need a complete list with all the XML statements
possible and the Gtk routine which is the requested
response.
Some I Understand and some are difficult to find.
In the docx file I show a possible output as I see it. In
the left TextView is the complete .glade file, in the
middle a Ada Specification file for the package and in the
right one the body file. Left one is not edible, the middle
and the right one can be edited.
L. Dries
--
glade-users-list mailing list
glade-users-list gnome org
https://mail.gnome.org/mailman/listinfo/glade-users-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]