I have a routine as follows :

-------------------

   procedure Cleanup_Puzzle(Self : not null access Puzzle_Widget) is
   begin
      pragma debug(text_io.put_line("Cleanup Puzzle"));
      for w in Self.buttons.all'range
      loop
         pragma debug(text_io.put_line("Remove Widget " &
integer'image(w)));
         Self.Layout.remove_widget(Self.buttons(w));
      end loop ;
   end Cleanup_Puzzle ;

------------------

My gui however does show these widgets even after executing this. I will be
happy to send the project - but perhaps there is an explanation.

Alternatively if there is a way to "destroy" the layout altogether that will
be great as well. I dont believe there is now.

thanks, srini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.qtada.com/pipermail/qtada-users_lists.qtada.com/attachments/20091025/ff531aba/attachment.html>
_______________________________________________
qtada-users mailing list
[email protected]
http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to