--=-7LMF+bIWgMwvhLc/Kl/9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The answer. thank for peaple who answer me. ****************** I'm not sure what you're trying to do exactly, but you can try using layouts to arrange your widgets. Take the QHBoxLayout for example. Create this a child of your widget and then use methods like QHBoxLayout::addWidget and QHBoxLayout::addLayout to add stuff to it. Is something like this what you had in mind? from qt import * import sys class MainWin(QWidget): def __init__(self, *args): apply(QWidget.__init__, (self,)+args) layout =3D QHBoxLayout(self) self.s1 =3D win(self) =20 layout.addWidget(self.s1) self.setCaption('test de splitter') class win(QFrame): def __init__(self, *args): apply(QFrame.__init__, (self,)+args) layout =3D QHBoxLayout(self) self.box =3D QSplitter(QSplitter.Vertical, self) layout.addWidget(self.box) s1 =3D QSplitter(self.box) s2 =3D QSplitter(self.box) b1 =3D QPushButton('b1', s1) b2 =3D QPushButton('b2', s1) b3 =3D QPushButton('b3', s2) --=20 William.famy@laposte.net=20 "Nothing would please me more than being able to hire ten programmers and deluge the hobby market with good software." --Bill Gates 1976-- Nous attendons toujours... =20 =20 =09 --=-7LMF+bIWgMwvhLc/Kl/9 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+qmrktBZWkq9aICARAlx9AKCXCw7kC0csLdfIvxnaw+YrnW0bOACgru8i OarqTmwlksyLegwz4qvdiUo= =UAsB -----END PGP SIGNATURE----- --=-7LMF+bIWgMwvhLc/Kl/9-- _______________________________________________ PyKDE mailing list PyKDE@mats.gmd.de http://mats.gmd.de/mailman/listinfo/pykde