[gtkada] Quitting program on the [X] button

Rick Duley rickduley at gmail.com
Mon Jun 22 03:37:41 CEST 2009


I am trying to gain an understanding of the thinking behind GtkAda so this
might seem a simple question but I'd still appreciate  knowing the answer.

Of the three buttons at top right of a top-level window, only the [X] button
requires an event handler to operate.

I think this is because the [X] button is the only button of the three which
requires control of the 'Main' loop.
Is that right?
-- 
Rick Duley
North Perth,
Western Australia
http://www.freewebs.com/rickduley/
                                    .-_|\
                                   /     \
                             perth *_.-._/
                                        v
aussie :      04...
o'seas :   +61 ...
--------------------------------------------
Committees:
"... dark alley down which ideas are led
                   ... then strangled."
                                  (PepsiCo)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20090622/03ad7b5b/attachment.htm 


More information about the gtkada mailing list