[racket] reparent gui object

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Fri Jan 21 13:22:28 EST 2011

Can you say more about the serialization required? I found that I could
add a `deep-copy' method that to my gui objects that accepted the new
parent so each object could instantiate itself as needed.

Maybe all the gui objects in racket could implement some deep-copy<%>
interface?

On 01/21/2011 08:07 AM, Laurent wrote:
> Unless it has changed, you have to recreate copies all children under
> the new parent, and remove the old ones. MrEd Designer uses that
> extensively, but this requires a kind of serialization of the gui objects.
>
> Laurent
>
> On Fri, Jan 21, 2011 at 13:09, Robby Findler
> <robby at eecs.northwestern.edu <mailto:robby at eecs.northwestern.edu>> wrote:
>
>     No, it isn't possible with the current GUI toolkit to do that.
>
>     Robby
>
>     On Thu, Jan 20, 2011 at 12:34 PM, Jon Rafkind <rafkind at cs.utah.edu
>     <mailto:rafkind at cs.utah.edu>> wrote:
>     > Is there a way to change the parent of a gui object? (anything
>     from the
>     > framework collection)
>     > _________________________________________________
>     >  For list-related administrative tasks:
>     >  http://lists.racket-lang.org/listinfo/users
>     >
>     _________________________________________________
>      For list-related administrative tasks:
>      http://lists.racket-lang.org/listinfo/users
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110121/0b369295/attachment.html>

Posted on the users mailing list.