KDElibs: KSystemTray: On window close dialog
Sébastien Laoût [temporar]
les83plus at free.fr
Tue Oct 5 18:23:10 BST 2004
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...
More information about the kde-core-devel
mailing list