[gtkada] text

Jean-Etienne Doucet doucet at laas.fr
Mon May 19 14:10:51 CEST 2003


From: Franco Bergomi <Franco.Bergomi at etu.univ-savoie.fr>
| 
| Hello 
| (excuse me for my bad english)
| I am building a GUI for a orthograph corrector, and I'm using a "text" widget.
| 
| How can I make the conversion between Gint, Guint and ada Integers ???
| 
| Thanks
| 
| Franco Bergomi
| _______________________________________________

Simply, with ordinary type conversions:

   G : Gint;
   U : Guint;
   I : Integer;
   ...
   G := Gint(I);
   U := Guint(G);
   I := Integer(G);

and so on...

--jed--



More information about the gtkada mailing list