[gtkada] Problem in GTK ADA

Pascal Obry p.obry at wanadoo.fr
Fri Feb 20 18:56:32 CET 2004


GOUGOU1 writes:

 > So, my string "Chaine" as 20 letter, and my Gentry Object to.
 > Where is the problem ? I'm on it since 4 days, and I don't see where is
 > the error.

This is a standard Ada beginner problem and is not related to GtkAda. The
string must have exactly 20 characters as you have coded your program.

You could try:

   declare
      Chaine : String := Gtk.Gentry.Get_Text (saisie);
   begin
      ...

> GOUGOU1
 
And I bet GOUGOU1 is not your name :)

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595




More information about the gtkada mailing list