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

Hi,
How do I make a child widget to lock a parent, lets say the parent activate a browser and I don't want to get browsers all over the place. (not to mention managing them)
Thanks.
Michael

Replies are listed 'Best First'.
Re: How do I disable a parent widget
by Aristotle (Chancellor) on Oct 02, 2003 at 07:31 UTC
    What are you working with? Tk? wxPerl? Is it maybe a CGI script? As stated, noone can answer your question.

    Makeshifts last the longest.

      Hi I'm working on Tk , I managed to "-status => disabled"
      the button that activate the browser , I pass it to the sub
      that build the browser and there at one of my buttons
      command statements I disable it .
      but what I really want to do is to disable
      the parent widget , and not part of it .
      michaelg
        Maybe you can show us how you are activating the browser. What you are looking for is a modal dialog (or the similar), which prevents other parts of your program from being used until it has been closed again.

        C.