[gtkada] Widget destruction problem

Keene, Glenn Glenn_Keene at mail.crc.com
Mon Jan 22 17:48:36 CET 2001


I have a widget (Window B) that is instantiated from an "Add" button in
another window (Window A) I am adding functionality to the buttons on the
newly created Window B. I have added the following call to the
"Cancel_Button" callback procedure on Window B:  "Gtk.Widget.Destroy_Cb
(Window B)". This works fine to destroy Window B. The problem is once Window
B is destroyed, Window A goes away. I do not want Window A to be destroyed
only Window B.  Any solutions?

out




More information about the gtkada mailing list