[PyKDE] Re: Help getting started with applets

Chris Burn chris_burn at bigfoot.com
Mon Apr 15 09:21:24 BST 2002


Thanks for the pointers but I don't think I have enough knowledge of KDE 
or embedding python to attempt this. So I'll wait until you have the 
time to write something up, if that's ok.

Thanks
Chris



Jim Bublitz wrote:

>On 11-Apr-02 ian reinhart geiser wrote:
>
>>We are actually talking about this in KDE.  The current plan is
>>to make a wrapper KPart and Kicker applet that will load PyKDE
>>applets...
>>
>
>That's pretty much what I was getting at.
> 
>
>>I am not sure what the progress on this is.
>>
> 
>
>>I can crank out a kicker applet in about 5 min, the hard part
>>would be loading the pyqt code.  is anyone here an embedding
>>expert that would want to attack at least kicker applets with
>>me first?
>>
>
>Loading PyQt or PyKDE2 code just requires a Python 'import'
>statement in the script you want to run. You'd want to load Python
>scripts - not PyQt or PyKDE2 code especially. It's not necessary
>for the KPart/applet to know anything about PyQt or PyKDE2. You
>could probably write applets with Tk, PyGTK or wxWindows too - I
>assume applets have their own event loop, which is the only major
>consideration I can think of.
> 
>
>>if we can do a kicker applet any kpart would be trivial.
>>
>
>I already have a working KPart, so the kicker applet won't be a lot
>of work. I just need to find the time to write it up. As far as I
>can see, KDE already has all the necessary machinery to implement
>this except the Python specific stuff.
>
>There are some potential problems (concurrency), but probably
>nothing major.
>
>
>Jim
>
>
>_______________________________________________
>PyKDE mailing list    PyKDE at mats.gmd.de
>http://mats.gmd.de/mailman/listinfo/pykde
>
>







More information about the PyQt mailing list