[gtkada] Getting Text from an Entry Widget

Emmanuel Briot briot at gnat.com
Mon Oct 2 11:56:45 CEST 2000


JJ Escanellas writes:
 > I'm just looking to the Ref Manual, to the Editable subprograms. 
 > I found 
 >        procedure Get_Chars            
 >          (Editable           : access Gtk_Editable_Record;
 >           Start_Pos          : in     Gint := 0;
 >           End_Pos            : in     Gint := -1);
 > but I don't know what to do with that.
 > Isn't it a Get_Text function returning a String?


As you found out, this was in fact a bug in the Perl script that builds the
reference manual from the sources. It did not recognize that Get_Chars was
a function, and not a procedure.
We have now fixed that script in the development version of GtkAda.

When in doubt, you should always look at the include/gtkada directory, which
contains all the .ads files. All the reference manual is automatically build
from these, so they contain exactly the same information as the reference
manual.

Emmanuel




More information about the gtkada mailing list