Hi.  I'm very new to Ruby, but already a convert.

I've been writing some code recently to draw graph theory structures
using Ruby and Tk.  I got to the point where I have my first version,
with the basic functionality I need, so I decided to look into saving
my graphs to disk and retrieving them.

I discovered Marshal and was very pleased when getting it to store my
data and the single Tk canvas I'm using to disk and restore them to
memory didn't fall over with horrible errors.

However, I have had absolutely no success getting the Tk class library
to re-display the graph.  I've tried lots and lots of things, but I
think the problem comes down to getting the container in which the
canvas lives to adopt the one that's been read back from disk.

Of course, this is probably a naughty thing to do and I should
probably just write the code so I can redraw the graph from the data,
but I'd still be interested to know whether it's possible to reinstate
a saved Tk context.