[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Systray icons in PyQt
From:       David Boddie <david () boddie ! org ! uk>
Date:       2004-05-27 10:16:41
Message-ID: 200405271216.41268.david () boddie ! org ! uk
[Download RAW message or body]

On Thu, 27 May 2004 00:26:11, Hans-Peter Jansen <hpj@urpla.net> wrote:

> On Wednesday 26 May 2004 03:52, Torsten Marek wrote:
> > (sorry, but I'm too lazy right know to find out all the links). All
> > you need to do is to call some functions in libX11.so. For that,
> > you need the Display
> > (qt_x11_display()) and the WindowID (QWidget.winId())
>
> First of all: well done, Thorsten.

It's really impressive to see how it was achieved. I didn't realise that
the ctypes module made this sort of thing so straightforward. It appears to
work just as well as the KSystemTray class, too.

> > So far, there are several ways to do the C calls from Python:
> > - extension module
> > - Pyrex

I don't think Pyrex really works all that well with C++, but maybe I didn't
try hard enough to get them working together.

David

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic