[PyKDE] KSystemTray, SetToolTip and python

Jim Bublitz jbublitz at nwinternet.com
Tue May 18 17:37:01 BST 2004


On Tuesday 18 May 2004 02:41, Rafal Zawadzki wrote:

> I am writing small application and I want use KSystemTray. Is there any
> documentation with *examples* telling more about programming in PyKDE?

> For example i want to make tooltip for my icon in systray. I've already
> read documentation at
> http://www.riverbankcomputing.co.uk/pykde/docs/index.html, especially
> Class reference here:
> http://www.riverbankcomputing.co.uk/pykde/docs/classref/index.html, but
> I've never programmend anything in Qt/KDE (only Gtk / wxWindows).
>
> Any hints, links will be helpful, thanks of lot.


PyQt contains a lot of example code in the examples3/ subdirectory, including 
Python versions of the code for the Qt tutorial that comes with the Qt docs.  
Boudewijn Rempt's book on PyQt programming is also available on line (don't 
have the URL handy).

PyKDE includes a few example programs in its examples/ subdirectory, including 
a KSystray example (systray.py). In addition, there are some program 
templates in templates/. The programs in templates/annotated have comments; 
the same programs are in templates/basic with comments stripped.

I'd start with the Qt tutorial - the same concepts are needed for KDE 
programming.

Jim




More information about the PyQt mailing list