[Python] Why is parent not implemented as a property in pyside6?

Discussão em 'Python' iniciado por Stack, Junho 30, 2025.

  1. Stack

    Stack Membro Participativo

    I noticed a rather profound difference between PyQt and PySide, namely that certain PyQt properties, such as QObject.parent are only implemented as methods in PySide, so one has to use QObject.parent().

    I'd be interested in motivation and pros/cons of this design choice.

    Continue reading...

Compartilhe esta Página