[PyQt] removeWidget

uahmed gleam.uahmed at gmail.com
Thu Aug 25 11:06:46 BST 2011


Hi

[Sorry Hans , i clicked on reply all so it Cc to the group too ]

 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 .

On Thu, Aug 25, 2011 at 2:58 PM, Hans-Peter Jansen <hpj at urpla.net> wrote:

> [I prefer to not get personal replies on this list]
>
> On Thursday 25 August 2011, 11:39:46 uahmed wrote:
> > Hi
> >
> > Thanks for the reply , I used .close() . I guess this will destroy
> > the widget and will not leave memory for it .
>
> You cannot close arbitrary widgets, but you can hide and show them
> without the need to fiddle with the layouts..
>
> Pete
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110825/0cd45a3c/attachment.html>


More information about the PyQt mailing list