Making widgets "sticky"

Matt Rogers mattr at kde.org
Mon Jul 4 17:00:10 CEST 2005


On Monday 04 July 2005 09:45 am, Vladimir Prus wrote:
> Matt Rogers wrote:
> > On Monday 04 July 2005 04:50 am, Vladimir Prus wrote:
> >> Hello,
> >> is it possible to programmatically make a KMDI-controlled widget
> >> "sticky", so that it does not automatically hides. In other words, I
> >> want to have the same effect as clicking at the rectangle-like button on
> >> the tool window?
> >>
> >> The motivation is kdevelop -- I'd like the "variables" window to appear
> >> whenever debugger is started, since that window is always needed during
> >> debugging.
> >>
> >> Thanks in advance,
> >> Volodya
> >
> > You don't. It's not in the public API.  Sorry. You might be able to work
> > around it but I don't have an ideas on that at the moment.
>
> Ok.
>
> 1. Is there any reason, technical, or otherwise, that makes this
> impossible?
>

no reason that i know of. I don't think the pubic API for KMDI was ever given 
any thought. :(

> 2. If not, where do I start hacking?
>
 
KMdiDockContainer is what does the overlap / non-overlap mode IIRC you'd have 
to start there.

--
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kmdi-devel/attachments/20050704/f626fc16/attachment.pgp


More information about the Kmdi-devel mailing list