[gtkada] GPS 2013 / GtkAda
Stéphane LOS
slos at hilscher.com
Fri Jun 7 17:01:01 CEST 2013
Hello there,
I have just downloaded GPS 2013 and installed it fine on a WinXP box.
It is installed in E:\GNAT\2013.
I can compile and run Ada programs.
I have also downloaded GtkAda and installed it in E:\GNAT\2013\GtkAda
Then I have found that I had to define :
ADA_PATH_PROJECT = E:\GNAT\2013\GtkAda\lib\gnat
in order to be able to with "gtkada".
I have also defined :
GPS_CUSTOM_PATH = E:\GNAT\2013\GtkAda\share\gps\plug-ins
to get the GtkAda help menus but I get only GtkAda and no further submenu.
So I have tried to define also GPS_DOC_PATH with several paths but still
no help.
Finally I have copied the documentation in the E:\GNAT\2013\share\doc
directory and I have now the doc but with some little errors.
Nothing really bad, but how could I do it better ?
Then I have tried to fire
E:\GNAT\2013\GtkAda\share\examples\gtkada\testgtk\testgtk.exe and got
the main window with a netbook and a list view but nothing happening
when clicking the entries in the list.
I have created a gpr project and compiled the sources in debug mode.
In procedure Testgtk, I have had to comment :
-- Load_Css_File ("testgtk.css", Ada.Text_IO.Put_Line'Access);
because it was throwing an exception.
Then it compiles fine but with the same result.
In the debug session I can see that the tree is filled but in procedure
Tree_Select_Child, Demo_Num and Frame_Num are always = 0, whatever thing
I select.
Any hint ?
By the way, the GPS wizard creates a GtkAda Simple with that line which
causes the program compilation to fail :
-- Gtk.Main.Set_Locale;
Thank you very much for your kind support.
--
Best Regards,
Cordialement,
Stéphane LOS
slos at hilscher.com
Support technique
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hilscher France
12, rue du 35ème Régiment d'Aviation
Miniparc du Chêne
69500 BRON
France
Tél. : +33 (0) 4 72 37 98 40
Fax : +33 (0) 4 78 26 83 27
http ://www.hilscher.fr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the gtkada
mailing list