GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::MSGBOX (3)

.ds Aq ’

NAME

Tk::MsgBox - create and manipulate a message dialog

CONTENTS

SYNOPSIS



    use Tk::MsgBox
    ...
    $d = $top->MsgBox(-title => "Title", -type => "okcancel");
    ...
    $button = $d->Show;



DESCRIPTION

<B>MsgBoxB> is a simple dialog with predefined buttons.

OPTIONS

The options recognized by <B>MsgBoxB> are as follows:
<B>-iconB> Specify the icon of the MsgBox. Valid values are <B>errorB>, <B>infoB>, <B>questionB>, or <B>warningB>.
<B>-typeB> Specify the type of the MsgBox. Valid values are <B>abortretryignoreB>, <B>okB>, <B>okcancelB>, <B>retrycancelB>, <B>yesnoB>, or <B>yesnocancelB>. The type determines the buttons to be shown.
<B>-defaultB> Specify the default button. This must be one of <B>abortB>, <B>retryB>, <B>ignoreB>, <B>okB>, <B>cancelB>, <B>yesB>, or <B>noB>, depending on the type of the MsgBox previously specified.
<B>-detailB> Specify text for the detail region of the MsgBox.
<B>-messageB> Specify the message text of the MsgBox.
<B>-titleB> Specify the title of the MsgBox.

METHODS

<B>MsgBoxB> supports only one method as of now:
<B>B>Show()<B>B> Displays the MsgBox until the user invokes one of the buttons. Returns the name of the button invoked.

AUTHOR

Translated from Tcl/Tk by Slaven Rezic srezic@cpan.org

This code is distributed under the same terms as Perl.

SEE ALSO

Tk::messageBox, Tk::DialogBox, Tk::Dialog.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MSGBOX (3) 2013-11-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.