[gtkada] window destroy
Manuel Op de Coul
manuel.op.de.coul at eon-benelux.com
Tue May 25 14:12:05 CEST 2004
Karim,
Use a "remove" event handler instead. Inside, you can set the
dialog pointer to null.
>I added to my application a functionnality that allows all dynamically
created
>windows to be destroyed at a time.
You can also do this simply with
declare
Top_List : Gtk.Widget.Widget_List.Glist;
begin
Top_List := Gtk.Window.List_Toplevels;
for I in 0 .. Widget_List.Length(Top_List) - 1 loop
destroy or don't destroy Widget_List.Nth_Data(Top_List, I)
end loop;
Widget_List.Free(Top_List);
Manuel
More information about the gtkada
mailing list