Requesting QML anchors
Stefan de Konink
stefan at konink.de
Sat Apr 10 17:47:27 BST 2021
I am using PyQT5 at this moment. I would like to set the anchors property
dynamically from Python on a QMLComponent. I am creating Dynamic QML
Requesting via itm.property("anchors.right") gives None.
Requesting via itm.property("anchors") gives <sip.voidptr object at
On StackOverflow it suggested if this Pointer would be casted to a QObject
it is possible to retrieve and set it.
I have a workaround to achieve what I want, but I would prefer to resolve
it cleanly in Python. Any suggestions?
More information about the PyQt