Hi,

I'm not 100% sure that I get the gist of your question, but I'm giving it a shot anyway. First thing I would check if I were you is to read the documentation for Tk::Toplevel. It has an option for "-container" which, if set true "means that this window will be used as a container in which some other application will be embedded". I have not used it myself, but this seems like it might get you pointed in the right direction.

The other way I could read this, and it probably isn't what you mean - that you want to fork your Tk process and have the children render as sub windows of the parent. I think you could do this as well, if you played with it. I would try forking after creating your main widget and see what happens when you create dependent windows. Just don't go back and try to modify the parent, since you'd be going after copy!

Good luck,
{NULE}
--
http://www.nule.org


In reply to Re: Tk and processes as child/sub windows by {NULE}
in thread Tk and processes as child/sub windows by bbfu

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.