[PyKDE] QLayout parent

Tony Cappellini cappy2112 at gmail.com
Sun Jan 28 03:24:27 GMT 2007


http://www.riverbankcomputing.com/Docs/PyQt4/html/qlayout.html#details

What does the following mean-regarding being owned by Qt instead of PyQt?

The *parent* argument, if not None, causes *self* to be owned by Qt instead
of PyQt.

Method DocumentationQLayout.__init__ (*self*,
QWidget<http://www.riverbankcomputing.com/Docs/PyQt4/html/qwidget.html>
 *parent*)

The *parent* argument, if not None, causes *self* to be owned by Qt instead
of PyQt.

Constructs a new top-level
QLayout<http://www.riverbankcomputing.com/Docs/PyQt4/html/qlayout.html>,
with parent *parent*. *parent* may not be 0.

There can be only one top-level layout for a widget. It is returned by
QWidget.layout<http://www.riverbankcomputing.com/Docs/PyQt4/html/qwidget.html#layout>
().
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070128/61daf70b/attachment.html


More information about the PyQt mailing list