object.widget().deleteLater()

from the web:

def clearLayout(layout):
  while layout.count():
    child = layout.takeAt(0)
    c.widget().deleteLater()



On Fri, Aug 31, 2012 at 12:37 PM, PBLN RAO <[email protected]> wrote:

> Hi All,
>
>   How to delete a QFrame and all its children in PyQt.
>
>   I goggled all the web but couldn't find a solution.
>
>   Can any one suggest a solution.?
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>



-- 
David Moulder
http://www.google.com/profiles/squish3d

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to