[gtkada] Closing Windows

Stephen Leake stephen_leake at acm.org
Wed May 19 03:39:28 CEST 2004


"Lohr, Jeffrey F. CECOM SEC FSSE AST" <jeff.lohr at us.army.mil> writes:

> I have created a main window using Gtk_New (window_name) and then Show_All
> (window_name).  This main window has buttons on it that when clicked, open
> up other windows (not pop ups) in the same fashion.  I can just click the
> "X" button on the window frame to close, but I also want there to be a
> button as well that will do the same thing when clicked.  How do I
> accomplish this?

A question I can answer :).

Call Destroy_Cb (Window); declared in the Gtk.Widget package.

-- 
-- Stephe




More information about the gtkada mailing list