Hi,

Am Freitag, den 16.12.2005, 18:34 -0200 schrieb Felipe Monteiro de
Carvalho:
> Hi,
> 
> I'm trying to understand the c++ bindings for KDE API to create a 
> systray icon on KDE. I find some .h files defining some classes, but no 

The systray icon stuff is standardized, but (older?) kde deviates from
it horribly. Just the amount of workarounds that we had to put in xfce
to make kde systray icons work scares me. Do not do that.

Instead see here and implement it as a normal LCL widget which fudges
with the described X settings:

http://www.freedesktop.org/wiki/Standards_2fsystemtray_2dspec

Doing it needs pretty few steps in fact and also you see immediately if
it works since it is visible stuff :)

If you need help, just ask :)

btw: after you have a sys tray icon of yours on screen, start "xprop"
and click on it to see if it confirms to the standard.

Hope that helped :)

> information about where the classes are implemented, and worse, no 
> information about how they connect to KDE.
> 
> I mean, I know no other method for a binding to exist except for dynamic 
> link libraries exporting functions. Even ActiveX is like that in the 
> end, isn't it? Just some calls to create factory and stuff like that...
> 
> thanks,
> 
> Felipe

cheers,
   Danny


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to