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

List:       kde-devel
Subject:    Re: How to make a window/widget work/behave like a panel?
From:       Thomas =?iso-8859-1?q?L=FCbking?= <thomas.luebking () web ! de>
Date:       2010-08-16 14:27:52
Message-ID: 201008161627.52522.thomas.luebking () web ! de
[Download RAW message or body]

#include <KDE/KWindowSystem>

KWindowSystem::setType( winId(), NET::Dock );
KWindowSystem::setOnAllDesktops( winId(), true );
KWindowSystem::setExtendedStrut(winId(), ) // contact API for geometry values, 
there's also
KWindowSystem::setStrut( winId(), left, right, top, bottom);
but i'm not sure whether it works (must be using the complex variant for some 
reason ;-)

Since struts can only be applied to screen edges, move your panel there :-)

Cheers
 
>> 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