[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] removeWidget
From:       uahmed <gleam.uahmed () gmail ! com>
Date:       2011-08-25 10:06:46
Message-ID: CAEUvQQw4+0eDY0wTSVCFoHJFkFQZqBraVUQrRQnTZB9_9U91uw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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@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@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>

[Attachment #5 (text/html)]

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">&lt;<a \
href="mailto:hpj@urpla.net">hpj@urpla.net</a>&gt;</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>
&gt; Hi<br>
&gt;<br>
&gt; Thanks for the reply , I used .close() . I guess this will destroy<br>
&gt; 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>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic