=head1 NAME Tk::MsgBox - create and manipulate a message dialog =for pm Tk/MsgBox.pm =for category Popups and Dialogs =head1 SYNOPSIS use Tk::MsgBox ... $d = $top->MsgBox(-title => "Title", -type => "okcancel"); ... $button = $d->Show; =head1 DESCRIPTION B is a simple dialog with predefined buttons. =head1 OPTIONS The options recognized by B are as follows: =over 4 =item B<-icon> Specify the icon of the MsgBox. Valid values are B, B, B, or B. =item B<-type> Specify the type of the MsgBox. Valid values are B, B, B, B, B, or B. The type determines the buttons to be shown. =item B<-default> Specify the default button. This must be one of B, B, B, B, B, B, or B, depending on the type of the MsgBox previously specified. =item B<-detail> Specify text for the detail region of the MsgBox. =item B<-message> Specify the message text of the MsgBox. =item B<-title> Specify the title of the MsgBox. =back =head1 METHODS B supports only one method as of now: =over 4 =item B Displays the MsgBox until the user invokes one of the buttons. Returns the name of the button invoked. =back =head1 AUTHOR Translated from Tcl/Tk by B srezic@cpan.org This code is distributed under the same terms as Perl. =head1 SEE ALSO L, L, L. =cut