[PyKDE] KPanelApplet using Python

Varun Hiremath varunhiremath at iitm.ac.in
Fri Feb 24 19:07:53 GMT 2006

Can anyone give me an example on how to use pyKDE's KPanelApplet class to make 
a KDE Panel Applet. I have made a small window using KMainWindow and I have linked 
it to KPanelApplet class but it doesn't seem to work. Here is the code:
    appName = "template"
    app = KApplication (sys.argv, appName)
    window = MainWin(None,"main window")                                                 
    AppletWin = KPanelApplet("Applet", KPanelApplet.Normal , 0, window)

Can I get some help.

Thank You

Varun Hiremath
461, Jamuna Hostel
IIT Madras,
Chennai - 600 036
mob : +919840299732
My Webpage : http://www.ae.iitm.ac.in/~ae03b032

More information about the PyQt mailing list