in reply to Re^3: Tk::MsgBox and my -message string
in thread Tk::MsgBox and my -message string

I have been looking through Tk POD docs on CPAN have not read anything about a visible option or property for widgets, could you please provide a quick example of setting up visibility?

I'm going to try setting up the dialog box in subroutine quiz_me, initialize the message with the answer and then have another sub called on the reveal answer key to configure visiblity for the message widget.


use strict; use CGI;

Replies are listed 'Best First'.
Re^5: Tk::MsgBox and my -message string
by eserte (Deacon) on Jan 06, 2008 at 22:14 UTC
    See the other answer in this thread, the one mentioning "withdraw".