I have created a simple Gnoga singleton program, with a view containing a
canvas and a button, that appears no different from any other such program.
When I run it, the browser displays the message in the Subject line. The log
output contains
2019-11-02 10:15:33.42 : HTTP Server Started
2019-11-02 10:15:34.03 : Requested: Kind: FILE, File: , Query:
2019-11-02 10:15:34.05 : Reply: Not found
The important part of the code is
Gnoga.Application.Title ("Life");
Gnoga.Application.HTML_On_Close (End_Message);
Gnoga.Application.Open_URL;
Gnoga.Application.Singleton.Initialize (Main_Window => Window);
View.Create (Parent => Window);
Drawing.Create (Parent => View, Width => Drawing_Size, Height =>
Drawing_Size);
View.New_Line;
Quit.Create (Parent => View, Content => "Quit");
Quit.On_Click_Handler (Handler => When_Quit'Access);
Gnoga.Application.Singleton.Message_Loop;
This is using the 1.5 beta of Gnoga. Any idea what I'm doing wrong?
--
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python and the Holy Gral
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list