On Wed, 03 Oct 2007 23:25:49 +0200
[EMAIL PROTECTED] wrote:

> Mattias Gaertner wrote:
> > On Wed, 03 Oct 2007 19:08:02 +0200
> > Johannes Müller <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> wile64 schrieb:
> >>     
> >>> Hi all,
> >>>
> >>> It is a (unofficial) patch for docking the message window into
> >>> the source editor (bottom).
> >>>
> >>> I dont search Message Window ;)
> >>>
> >>> Tested on win32 and GTK2
> >>>
> >>> Regards
> >>>
> >>> -- 
> >>> Laurent.
>[...]
> >> really nice
> >>
> >> I think, this patch should be official added.
> >>     
> >
> > Notes:
> > - It adds directly a TMenuItem instead of registering a
> > TIDEMenuItem.
> > - It does not save its state.
> > - It does not handle any other docked window.
> > - It does not fix the positioning code in the IDE for the message
> > window.
> >
> > This means this patch can be easily undone, when the LCL get a good
> > working docking manager, that can be used by the IDE. So, we can
> > add it with IFDEFs.
> >
> >
> > Mattias
> >
> > _________________________________________________________________
> >      To unsubscribe: mail [EMAIL PROTECTED] with
> >                 "unsubscribe" as the Subject
> >    archives at http://www.lazarus.freepascal.org/mailarchives
> >
> >   
> What is tthe plan? When is LCL going to have a good working docking
> manager?

AFAIK there is no road map or time table for this feature.

I started one using anchors and notebooks, but the 'restore' function is
not yet complete and at the moment I'm working on many other lazarus
parts.

The main problem is, that the IDE has many independent windows plus the
the ones provided by design time packages. These windows are created in
random order, so restoring a dock layout needs some highly sophisticated
algorithms. 
Of course one alternative is to limit the possible dock layouts
dramatically. Then a special IDE dock manager could be written much
easier. For example a very simple dock manager could only allow the
message window to be docked right under the source editor, the object
inspector only left of the source editor, ..., and all others not at
all.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to