Re: XML documentation for Glade files

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:
  1.  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.
  2. 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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]