Alexander Wagner a écrit :
> Hi!
>
> There was some discussion here to rather have an MDI
> interface instead of the current one using several windows.
> Now, I find the current one much more flexible.
>
> While I added geometry manager support for the cc window
> yesterday I found that in end.tcl there's a list of windows
> that get iconified/raised automatically onces scid
> opens/closes. This is statically coded. Wouldn't it be
> better to have it as a list where a window could be just
> hooked on? The code in question is
>
>    # Now iconify/deiconify all the major Scid windows that exist:
>    foreach w {.baseWin .glistWin .pgnWin .tourney .maintWin \
>          .ecograph .crosstabWin .treeWin .analysisWin1 .anslysisWin2 \
>          .playerInfoWin .commentWin .repWin .statsWin .tbWin \
>          .sb .sh .sm .noveltyWin .emailWin .oprepWin .plist \
>          .rgraph .sgraph .importWin .helpWin .tipsWin .ccWindow} {
>      if {[winfo exists $w]} { catch {wm $type $w} }
>    }
>
> in line 1696ff. (Took me a while to find it...) Actually,
> adding all windows there and using sicds geometry manager
> that stores window sizes and positions IMHO we could have
> best of both worlds: all windows could be minized wiht just
> a mouse click, and still they could freely places on the
> desktop.
>   
Hi,

I changed the code so toplevel windows are automatically handled, 
without the need to update this list in a static way.
Moreover double clicking on main window will now first deiconify windows 
before trying to raise them.

Pascal


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to