[gtkada] bad mapping for Get(Gtk.Label)?

Arnaud Charlet charlet at ACT-Europe.FR
Thu Mar 9 09:28:07 CET 2000


Jake,

The use of a simple string rather than an unbounded strings has many advantages
including a small overhead.

If you don't want to use the returned string immediately (which is the
common case, and where the Get function is very useful), you can simply store
the returned String in a pointer, and you don't have to worry about the
length.

Another possibility is to declare a String and initialize it with the result
of Get.

In short, I don't see any problem/limitation with Gtk.Label.Get.

Arno





More information about the gtkada mailing list