NAME
GappX::Dialogs::Meta::Widget::Trait::MessageDialog - MessageDialog widget trait
SYNOPSIS
use Gapp;
use GappX::Dialogs;
$dlg = Gapp::Dialog->new(
traits => [qw( MessageDialog )],
rext => 'Primary Text',
secondary => 'Secondary Text',
);
$dlg->run;
DESCRIPTION
MessageDialog provides a simple layout for presenting commonly used dialogs.
PROVIDED ATTRIBUTES
- alert
-
If set to
true
will sound the system beep when displaying the dialog. - image
-
- is rw
- isa Gapp::Image
Defaults to stock image
gtk-dialog-question
. - text
-
The primary message text to display.
- text_widget
-
- is rw
- isa Gapp::Label
The label to display the primary message text.
- secondary
-
The secondary message text to display.
- secondary_widget
-
- is rw
- isa Gapp::Label
The label to display the secondary message text.
PROVIDED TRAITS
All of the traits in this package apply the MessageDialog trait to your object. See MessageDialog for more information.
- ConfirmDialog
- ErrorDialog
- InfoDialog
- MessageDialog
- QuestionDialog
- WarningDialog
AUTHORS
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
COPYRIGHT & LICENSE
Copyright (c) 2012 Jeffrey Ray Hallock.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 243:
You forgot a '=back' before '=head1'