[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KDElibs: KSystemTray: On window close dialog
From: Sébastien_Laoût "\[temporar\]" <les83plus () free ! fr>
Date: 2004-10-05 17:23:10
Message-ID: 1096996990.7270.37.camel () localhost ! localdomain
[Download RAW message or body]
Le mar 05/10/2004 à 14:53, Lubos Lunak a écrit :
> QCString screenstr;
> screenstr.setNum(qt_xscreen());
> QCString trayatom = "_NET_SYSTEM_TRAY_S" + screenstr;
> bool is_systray = ( KSelectionWatcher( trayatom ).owner() != None );
>
> This will find out if there is systray which can handle the fd.o systray
> spec, which is at least the Kicker on and the GNOME one. This doesn't help
> much though, as I don't know how to get the position of the systray; at least
> I don't know any other way than patching Kicker and ignoring the others.
Ho! Great to know.
Now, still the problem to know if it is currently shown on screen, or a
way to show it if needed...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic