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
MsgBox(3) User Contributed Perl Documentation MsgBox(3)

Tk::MsgBox - create and manipulate a message dialog

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

MsgBox is a simple dialog with predefined buttons.

The options recognized by MsgBox are as follows:
-icon
Specify the icon of the MsgBox. Valid values are error, info, question, or warning.
-type
Specify the type of the MsgBox. Valid values are abortretryignore, ok, okcancel, retrycancel, yesno, or yesnocancel. The type determines the buttons to be shown.
-default
Specify the default button. This must be one of abort, retry, ignore, ok, cancel, yes, or no, depending on the type of the MsgBox previously specified.
-detail
Specify text for the detail region of the MsgBox.
-message
Specify the message text of the MsgBox.
-title
Specify the title of the MsgBox.

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

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

This code is distributed under the same terms as Perl.

Tk::messageBox, Tk::DialogBox, Tk::Dialog.
2013-11-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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