Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Toplevel widget
by VSarkiss (Monsignor) on Nov 04, 2002 at 16:40 UTC

    Sorry, but your question is completely unclear. What kind of "top level widget" are you thinking about, and what does it mean for it to "get withdrawn"?

    Pop over to the Tutorials node, and take a look at some of the nodes listed there, like How (Not) To Ask A Question. Once you formulate your question clearly, you're much more likely to get a good answer.

Re: Toplevel widget
by Daruma (Curate) on Nov 04, 2002 at 18:31 UTC
    Greetings!!

    The
    $toplevel->state;
    method returns the state of the toplevel widget. The values are 'normal', 'icon', 'iconic', or 'withdrawn'.

    I found the above information in perldoc Tk::wm
    Both the $toplevel->witdraw; and the $toplevel->state; methods are described in the documentation.

    -Daruma

    Update: indicated where I found the information... Thanks, Zaxo!