[gtkada] Clist and only one column
Arnaud Charlet
charlet at ACT-Europe.FR
Wed Feb 12 09:10:44 CET 2003
> Ok. This is too complicated so I'll stick with my solution. Thanks
> though!
This was indeed unnecessarily complicated. The usual Ada syntax would be
something like:
String_Array : GtkAda.Types.Chars_Ptr_Array :=
(1 => New_String (Get_Element (List)));
The "GtkAda" way would be:
String_Array : Gtkada.Types.Chars_Ptr_Array :=
Null_Array + Get_Element (List);
What you missed is the function Null_Array, provided exactly for this purpose.
Arno
More information about the gtkada
mailing list