[gtkada] Exiting a program from a window

Dmitry A. Kazakov mailbox at dmitry-kazakov.de
Wed Jun 10 09:23:57 CEST 2009


On Wed, 10 Jun 2009 06:57:14 +0800, you wrote:

> I searched high and low in the GtkAda folder for both Exit_Main and found no
> references.  TestGtk gives me the attached error message so I can't run it.
>
> If I have to *"connect to the "destroy" event on the window"* you must be
> talking about a callback and I can't find one in the Glade-generated code I
> have.

Here is a simple GtkAda application, which does this:

http://www.rosettacode.org/wiki/Simple_Windowed_Application

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



More information about the gtkada mailing list