Hi, Dean Herington wrote:
> >> I reread Daan's original paper and found a hint that layouts need to > >> mention each widget exactly once (though I can't find anything > >> definitive in documentation for either wxhaskell or wxwidgets). > >> Obeying that "rule" avoids the garbling, but I'm still not able > >> successfully to change the layout repeatedly. Even if I could, how > >> then would I show different subsets of widgets at different times? > >Every widget which is created must be used once and only once. That is > >the rule. > > Does the documentation for either wxHaskell or > wxWidgets explain this rule? I couldn't find it. I looked a bit and could not find the rule except in the paper "wxHaskell – A portable and concise GUI library for Haskell" (see http://legacy.cs.uu.nl/daan/pubs.html#wxhaskell ), which I guess is the one you refers to. It would be good if we added the use-only-once rule somewhere. Do you have a suggestion? Can you name a place where would you would have found it? Greetings, Mads Lindstrøm ------------------------------------------------------------------------- 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/ _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users