Could someone explain to me, how is that possible and why it works:

class A(QWidget):
  def __init__(self):
    QWidget.__init__(self)

class B(QWidget):
  def __init__(self):
    QWidget.__init__(self)

class C(A, B):
  def __init__(self):
    A.__init__(self)
    B.__init__(self)

I mean, it's cool, that it works - I just used and I love it. But
having just C(QWidget, QWidget) won't work. Why above example does?

-- 
Filip Gruszczyński

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to