From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost2.xs4all.net!news.kpn.nl!not-for-mail Newsgroups: comp.lang.ada X-Mozilla-News-Host: news://news.kpn.nl:119 From: ldries46 Subject: A Gtk/GtkAda and Glade question Date: Mon, 27 Apr 2020 14:16:15 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Message-ID: <5ea6cd11$0$1724$e4fe514c@news.kpn.nl> NNTP-Posting-Host: a9b51c65.news.kpn.nl X-Trace: G=OHkpZmRk,C=U2FsdGVkX19T7vBdFvY0rb+p7wlFEgdnWO8l6ggQu9/7QwJSBNoE20aeLLOKDPVYiwgX7VUFHwSrp+9w6VSIQm0A7oY/sk+Ro3YjIPP56gk= X-Complaints-To: abuse@kpn.nl Xref: reader01.eternal-september.org comp.lang.ada:58505 Date: 2020-04-27T14:16:15+02:00 List-Id: I like the principal of Glade and the way the GUI works but the way it interfaces with an ADA program I don't like. In one of the older versions of Glade you can have an Ada output now you only can have an XML output. That means that if you have standard packages with dialog's that they need to have their own .glade file. So you need several GtkBuilder statements with their own pointer to a .glade file at different positions on your computer. Another problem I encountered is that you have for your program constant strings in your GUI and I do want variables in that positions to change the look of my GUI by a simple redraw action. One reason is that I want to create a multi language program So I need for instance the menu to be possible in several languages (f.i. English, Dutch, German, French and Spanish) and just switch these languages with one redraw. I can do that when I do not use the GtkBuilder statement. I am busy to prepare a program that can create from a .glade file an Ada Package for initiation of the GUI but I cannot find the necessary documentation on the XML for the .glade file. I need to know which objects, properties and signals are possible and the parameters they need. And if possible the Gtk Statements they must create. Can anyone tell me where to find them. I have already tried to find a way via Gate3 but that was also not a way I could go