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

List:       kde-devel
Subject:    KWin::setSystemTrayWindowFor()
From:       Nathan Toone <nathan () toonetown ! com>
Date:       2004-03-31 17:38:21
Message-ID: 200403311038.23747.nathan () toonetown ! com
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am having problems with KWin::setSystemTrayWindowFor().  Basically, it comes 
down to not understanding how windows are identified.

- From the documentation, I see that you need to pass it a WId for the from, and 
the to, windows to tie them together.  However, I don't know how to get a 
WId...I don't even know what a WId is (is there any documentation?)  I assume 
it's a Window identifier, or something.

I have tried the following, and I get the following error (SystemTray inherits 
from KSystemTray):
SystemTray sysTray;
KWin::setSystemTrayWindowFor(sysTray,0);
gives the error:
main.cpp:80: error: no matching function for call to `KWin::
   setSystemTrayWindowFor(SystemTray&, int)'
/usr/kde/cvs/include/kwin.h:153: error: candidates are: static void
   KWin::setSystemTrayWindowFor(long unsigned int, long unsigned int)

any ideas?

- -Nathan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAawIN+lPSZRR0T30RAt77AJ9p1EBnR7O5hm2wH9EjXDmtO7l1AACcDgZF
VujTIU0BFhoS66lz8g30/AA=
=XNY6
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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