As I already said I am writing in Ada. I had a program written in Ada where I started the programming from a Glade 2 GUI. In ada that presents direct ADA code. In glade 3 it seems possible to change my user interface so I want to convert this program to one using Glade 3. The simple program I used worked but the moment I included a Gtk Filechooser Dialog, I get troubles connecting to that dialog, the problem occurs when applie the run statement for that dialog:
if Run(File_Open_Dialog) = gtk_response_accept then
FileName := To_Unbounded_String(Get_FileName(+File_Open_Dialog));
The program creates a legal address with the statement:
File_Open_Dialog := Gtk_File_Chooser_Dialog(Get_Object(ConvertCtoAda_Init.Builder, "OpenFile_Dialog"));
I tried this last code also with Grt_Widget. Ada, which is very strict, accepts boyh codes and in both cases it returms a vlrgal pointer bit in the run styatement the program just hangs so bad that even must even end tyhe complete GNAT Programming Studio, as the In the debugger I no longer am able to interven (stop the program).