Replies: 1 comment
-
If you examine this code it's really about "non-modal views that have z-order and are tiled/overlap with a public static List<Toplevel> MdiChildes {
get {
if (MdiTop != null) {
List<Toplevel> mdiChildes = new List<Toplevel> ();
foreach (var top in toplevels) {
if (top != MdiTop && !top.Modal) {
mdiChildes.Add (top);
}
}
return mdiChildes;
}
return null;
}
}
"Not Mdi" (case of
I really don't know, but as they are a little complex to develop may be it's not used. I think they are useful for dealing with various opens windows. They can be used for developing an IDE with text editors, properties, toolbox, etc...
Correct.
I think you don't missing anything. All the necessary code for multiple non-modal toplevels are already implemented, but I limited it to only |
Beta Was this translation helpful? Give feedback.
-
For @BDisp as I believe he has the best knowledge of all this...
Is the "Mdi" concept, as currently implemented in Terminal.Gui, really about "Mulitple Document Interface" or, is it really about "non-modal views that have z-order and can overlap"?
Does "Not Mdi" means "non-modal views that have the same-zorder and are tiled"?
Also, do we know of any use-cases of Terminal.Gui's
Mdi
functionality outside of theBackgroundWorkerCollection
scenario and unit tests? I've searched our codebase and github code-search and I can't find any uses of it in the wild.It appears the choice calling what we have in Terminal.Gui today for overlapping windows
Mdi
was driven by the fact thatWinForms
has such a concept. Is this correct?I ask, because I have a POC of a refactor of
View
,TopLevel
, etc... for v2 that supports non-modal, overlapping views that are movable/sizable, and none of theMdi
complexity is needed. I want to make sure I'm not missing anything.Beta Was this translation helpful? Give feedback.
All reactions