comp.lang.ada
 help / color / mirror / Atom feed
* variable text for button
@ 2022-09-28 10:44 ldries46
  2022-09-28 10:59 ` Dmitry A. Kazakov
  2022-09-30 12:27 ` ldries46
  0 siblings, 2 replies; 3+ messages in thread
From: ldries46 @ 2022-09-28 10:44 UTC (permalink / raw)


I am using a   Gtk_Message Dialog in a surrounding in which I use 
strings in  variable languages. That means that I can switch languages 
by changing the variable lan, butfor the button I cannot find the 
parameter to switch the text.
I now use
MessageBox := Gtk_Message_Dialog_New(null,
1,
Message_Warning(lan),
Buttons_Close,
            Text(lan));
  MessageBox.Set_Title(Title(lan));

This gives a button with the Close text in the language of the operating 
system but I want:
Button_Text(lan) on the button
How can I do this?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-30 12:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 10:44 variable text for button ldries46
2022-09-28 10:59 ` Dmitry A. Kazakov
2022-09-30 12:27 ` ldries46

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox