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

List:       kde-devel
Subject:    Re: KWin::setSystemTrayWindowFor()
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2004-03-31 17:56:39
Message-ID: 200403311956.46471.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 31 March 2004 19:38, Nathan Toone wrote:
> 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.

QWidget has a methode winId() which returns the window ID

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - Unix/Linux programming forum
www.qtforum.org - Qt programming forum

[Attachment #5 (application/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