Tk-YADialog
view release on metacpan or search on metacpan
lib/Tk/YAMessage.pm view on Meta::CPAN
package Tk::YAMessage;
=head1 NAME
Tk::YAMessage - Yet another message box
=cut
use strict;
use warnings;
use vars qw($VERSION);
$VERSION = '0.05';
use Tk;
use base qw(Tk::Derived Tk::YADialog);
Construct Tk::Widget 'YAMessage';
=head1 SYNOPSIS
my $dialog = $window->YAMessage(
-image = $window->Getimage('info');
-text => 'Hello',
);
$dialog->Show;
=head1 DESCRIPTION
Provides a basic, less noisy, replacement for L<Tk::MessageBox>.
Inherits L<Tk::YADialog>.
=head1 B<CONFIG VARIABLES>
=over 4
=item Switch: B<-anchor>
Transferred to the text label.
=item Switch: B<-background>
Transferred to the text label.
=item Switch: B<-foreground>
Transferred to the text label.
=item Switch: B<-image>
Default value none.
Specify the image to be shown. Must be a Tk::Image object.
=item Switch: B<-font>
Transferred to the text label.
=item Switch: B<-justify>
Transferred to the text label.
=item Switch: B<-text>
Transferred to the text label.
=item Switch: B<-textvariable>
Transferred to the text label.
=item Switch: B<-width>
Transferred to the text label.
=item Switch: B<-wraplength>
Transferred to the text label.
( run in 0.808 second using v1.01-cache-2.11-cpan-5511b514fd6 )