[Panel-devel] containment switching patch

Jeremy jeremy at scitools.com
Mon Nov 26 22:00:07 CET 2007


On Monday 26 November 2007 03:12:43 Aaron J. Seigo wrote:
> On Sunday 25 November 2007, Jeremy wrote:
> > I have a patch here that works mostly.  Any input is appreciated.  The
> > idea is to reparent an applet when it is moved into another containment
> > (just
>
> i think that the addChild call should be moved to Containment::addApplet.
> this prevents need to call setParentItem, and it also ensures that the
> applet gets associated with the correct layout.

how could we do that without breaking Widget::Widget on line 101?

>
> > desktop to desktop containment so far, no tricky panel stuff yet). 
> > Anyway,
>
> =)
>
> > then you can test while zoomed out.  The only thing missing is when you
> > drop the applet on the new containment, the handle jumps to a differentt
> > location.
>
> we can tackle that next i suppose ...
>
> otherwise, looks good..

Should I commit today as it's a bic change (added some methods to the api)?

Jeremy



More information about the Panel-devel mailing list