MsgBox(3pm) User Contributed Perl Documentation MsgBox(3pm)NAME
Tk::MsgBox - create and manipulate a message dialog
SYNOPSIS
use Tk::MsgBox
...
$d = $top->MsgBox(-title => "Title", -type => "okcancel");
...
$button = $d->Show;
DESCRIPTION
MsgBox is a simple dialog with predefined buttons.
OPTIONS
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.
METHODS
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.
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.
perl v5.14.2 2010-05-29 MsgBox(3pm)
Check Out this Related Man Page
MsgBox(3) User Contributed Perl Documentation MsgBox(3)NAME
Tk::MsgBox - create and manipulate a message dialog
SYNOPSIS
use Tk::MsgBox
...
$d = $top->MsgBox(-title => "Title", -type => "okcancel");
...
$button = $d->Show;
DESCRIPTION
MsgBox is a simple dialog with predefined buttons.
OPTIONS
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.
METHODS
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.
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.
perl v5.16.3 2014-06-10 MsgBox(3)
Hello how are you, i have a question i have a file ale.log and i want to agregate a title and later a space when the text is over and put another title (when the text is over) how can i do this? thank you
Example
Last ------>(Title) i want to agregate
pupu pupu pupu pupu... (1 Reply)
Hi,
This should be a fairly simple question.
I want a message box with okcancel options where ok will proceed with my program, and cancel will cancel the program and terminate the kornshell.
# Get input directory from user
InputDirectory=$(fileBox -D -d "Y:/job/03013rsi/edit" -t... (2 Replies)
Hello Guys,
I have a problem using Perl TK.
I wanna arrange my buttons and entry's using "pack".
I would like to have my button under the "third" entry not after all my entry lines. Is using "pack" the way to go?
I am new to this language and i would appreciate some advices/solutions.
... (0 Replies)