<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    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.<br>
    <br>
    Maybe all the gui objects in racket could implement some
    deep-copy&lt;%&gt; interface?<br>
    <br>
    On 01/21/2011 08:07 AM, Laurent wrote:
    <blockquote
      cite="mid:AANLkTinQ=g7iLdv0_GodQ1App7O=08u9wWBx6cU5VxTB@mail.gmail.com"
      type="cite">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.<br>
      <br>
      Laurent<br>
      <br>
      <div class="gmail_quote">On Fri, Jan 21, 2011 at 13:09, Robby
        Findler <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          No, it isn't possible with the current GUI toolkit to do that.<br>
          <font color="#888888"><br>
            Robby<br>
          </font>
          <div>
            <div class="h5"><br>
              On Thu, Jan 20, 2011 at 12:34 PM, Jon Rafkind &lt;<a
                moz-do-not-send="true" href="mailto:rafkind@cs.utah.edu">rafkind@cs.utah.edu</a>&gt;
              wrote:<br>
              &gt; Is there a way to change the parent of a gui object?
              (anything from the<br>
              &gt; framework collection)<br>
              &gt; _________________________________________________<br>
              &gt; &nbsp;For list-related administrative tasks:<br>
              &gt; &nbsp;<a moz-do-not-send="true"
                href="http://lists.racket-lang.org/listinfo/users"
                target="_blank">http://lists.racket-lang.org/listinfo/users</a><br>
              &gt;<br>
              _________________________________________________<br>
              &nbsp;For list-related administrative tasks:<br>
              &nbsp;<a moz-do-not-send="true"
                href="http://lists.racket-lang.org/listinfo/users"
                target="_blank">http://lists.racket-lang.org/listinfo/users</a></div>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>