Hi <br><br>[Sorry Hans , i clicked on reply all so it Cc to the group too ] <br><br> Although here i want to destroy the button like i dont want to use it again , if i am not wrong show and hide functions will be use when i want to reuse the button and show and hide will not destroy the button . <br>
<br><div class="gmail_quote">On Thu, Aug 25, 2011 at 2:58 PM, Hans-Peter Jansen <span dir="ltr"><<a href="mailto:hpj@urpla.net">hpj@urpla.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
[I prefer to not get personal replies on this list]<br>
<div class="im"><br>
On Thursday 25 August 2011, 11:39:46 uahmed wrote:<br>
> Hi<br>
><br>
> Thanks for the reply , I used .close() . I guess this will destroy<br>
> the widget and will not leave memory for it .<br>
<br>
</div>You cannot close arbitrary widgets, but you can hide and show them<br>
without the need to fiddle with the layouts..<br>
<div><div></div><div class="h5"><br>
Pete<br>
_______________________________________________<br>
PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</div></div></blockquote></div><br>