[Kde-bindings] Using a KPart in a PyKDE4 Application
Simon Edwards
simon at simonzone.com
Tue Jun 2 19:25:49 UTC 2009
Dan Snek wrote:
> I want to include a KPart (Okular) in a PyKDE4 application, but I
> couldn't figure out yet, how to do that.
>
> While searching around, I found out, that there were
> createReadWritePart() and createReadOnlyPart() in the kparts global
> package, but these functions don't exist anymore and the corresponding
> API-Page doesn't exist (
> http://api.kde.org/pykde-4.2-api/kparts/global.html ).
>
> Are there any simple examples on how to do that?
What do ya know? Here is an example:
http://websvn.kde.org/trunk/KDE/kdebindings/python/pykde4/examples/kpartsExamples/katepart.py?revision=927744&view=markup
cheers,
--
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
More information about the Kde-bindings
mailing list