diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-13 22:30:19 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-13 22:30:19 -0400 |
| commit | 148e4af0b944f594e34644f4c5c7d663b15c1a72 (patch) | |
| tree | bd5f36299043665de85a6b7efc3a0463f48d6073 | |
| parent | 2c5c9e82f50523365d0b87ba9a9735bdf64aa167 (diff) | |
Added a document explaining how parents and children relate. I'm starting to think the current system actually does work fine after all...
| -rw-r--r-- | new/parentplan | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/new/parentplan b/new/parentplan new file mode 100644 index 0000000..7f7616a --- /dev/null +++ b/new/parentplan @@ -0,0 +1,37 @@ +current situation + +let's say the control hierarchy is +w window + p parent +c stack + d stack + e button + f button + g button +h button +i entry + +w = NewWindow() + p = NewParent(w.Handle) +w.SetChild(c) + p.SetChild(c) + c.SetParent(p) + d.SetParent(p) + e.SetParent(p) + f.SetParent(p) + g.SetParent(p) +c.Add(h) + h.SetParent(p) + p.Update() + c.Resize() +d.Remove(1) + f.RemoveParent() + p.Update() + c.Resize() +g.Hide() + p.Update() + c.Resize() +w.SetChild(i) + ????????????? +w.Destroy() + ????????????? |
