On Wednesday 16 January 2013, Sebastian Kügler wrote:
> On Wednesday, January 16, 2013 15:29:08 Aaron J. Seigo wrote:
> > On Wednesday, January 16, 2013 14:38:28 Sebastian Kügler wrote:
> > > So you'd write a set of QObject deriven classes in Python (you can use
> > 
> > ..
> > 
> > > These python extensions would then be imported into the context of the
> > > (QML)
> > 
> > this should be done via qml imports or libplasma plugins. is there any
> > case where this is not possible?
> 
> It seems all cases, see Luca's explanations. Looks like being able to do
> this needs work on PyQt itself (metaobject vs. staticmetaobject).

a very mild workaround may be a c++ invokable "invoke()"
so you do like plasmoid.invoke("mypythonFuction()") but would work only for 
sync function and would be rather ugly

-- 
Marco Martin
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to