[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:       Yogesh Marwaha <yogeshm.007 () gmail ! com>
Date:       2010-08-16 15:25:49
Message-ID: AANLkTik0e-QE4wg6goXJ=_qKfcqJ9b2wYUVYFRKuUSLo () mail ! gmail ! com
[Download RAW message or body]

On 16 August 2010 20:21, Sebastian Kügler <sebas@kde.org> wrote:
> On Monday 16 August 2010 13:29:10 Yogesh Marwaha wrote:
>> Hi,
>>
>> I want to make a window of my application work/behave like a panel
>> i.e. it will stick to either top/bottom or left/right sides and the
>> desktop will shrink/expand based on that and size of window. Can you
>> guide me how to achieve that? Any documentation or something similar?
>
> Thomas explains the low-level calls to turn a window into a panel.
>
> What you could also do is write your application as a Plasma::Applet or
> Plasma::Containment and use Plasmas to put it into the panel. That will
> likely lead to much better integration into your target system than if you
> "mimic" the behavior. Your brief explanation sounds like Plasma is by far
> the easiest way to go about that.
>
> The real question is: What is your goal, what is it that you want to do?
> Maybe your root assumption are wrong or incomplete?
>
I was thinking of adding a ui plugin for my sparkle media player which will
dock vertically/horizontally; more importantly vertically given the fact that
most of the lcd monitors in the market are wide screen and one can
dedicate a fair amount of screen space to one's favourite app.
Its just an idea though, might not be practical, but I want to implement this...
for sure.

Regards,

-- 
Yogesh M
http://sparklemedia.sourceforge.net/
http://mazedaar.wordpress.com/
http://snakeeyes.wordpress.com/
 
>> 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