From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed9.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: How to do this in Glade Date: Mon, 19 Apr 2021 11:47:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E4B4168BF3957D9AA3F1B9B0" Content-Language: nl Message-ID: <607d519a$0$28636$e4fe514c@news.kpn.nl> NNTP-Posting-Host: d7baf644.news.kpn.nl X-Trace: G=lcFCeuqz,C=U2FsdGVkX1/lp8qbVge0mNaHbofyWydSZG/5PIi89H+/VTrYbIxQNsT2nW2D9M2/r3Ogt9pOXPPGiNdeaeOKf0Y1DVK3OZ9IYfRu2AceBpM= X-Complaints-To: abuse@kpn.nl Xref: reader02.eternal-september.org comp.lang.ada:61835 List-Id: This is a multi-part message in MIME format. --------------E4B4168BF3957D9AA3F1B9B0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit How can I enter variables in Glade: For instance in the file send with this message I do want the part "imagemenuitem1" not to have a constant string but a variable which I derive from a array (GB .. ESP) of unbounded_string element named Lan__New (Lan) where Lan id of the type (GB .. ESP). The purpose is that I can change the language from with in my program. Glade is a fine program to design a GUI but I cannot find how to enter such a variable which inside the .glade file should be in the line: To_String(Lan_New(Lan)) But when I do it that way I get the string: To_String(Lan_New(Lan)) in the menu instead of New when I select GB("English"). I also do not want if there is a way outside of Glade to use that way everytime I change somthing in the GUI to carry out the changes i want over again --------------E4B4168BF3957D9AA3F1B9B0 Content-Type: text/xml; charset=UTF-8; name="Wanted_Glade.glade" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Wanted_Glade.glade" True False gtk-unindent False True False vertical True False True False _File True True False To_String(Lan_New(Lan)) True False image1 False gtk-open True False True True gtk-save True False True True gtk-save-as True False True True True False gtk-quit True False True True True False _Edit True True False gtk-cut True False True True gtk-copy True False True True gtk-paste True False True True gtk-delete True False True True True False _View True True False _Help True True False gtk-about True False True True False True 0 True True False True 1 True False 10 10 10 10 6 6 vertical 2 False True 2 --------------E4B4168BF3957D9AA3F1B9B0--