The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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
is rw
isa Bool
default 0

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
is rw
isa Str

The primary message text to display.

text_widget
is rw
isa Gapp::Label

The label to display the primary message text.

secondary
is rw
isa Str

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

GappX::Dialogs::Meta::Widget::Trait::ConfirmDialog

ErrorDialog

GappX::Dialogs::Meta::Widget::Trait::ErrorDialog

InfoDialog

GappX::Dialogs::Meta::Widget::Trait::InfoDialog

MessageDialog

GappX::Dialogs::Meta::Widget::Trait::MessageDialog

QuestionDialog

GappX::Dialogs::Meta::Widget::Trait::QuestionDialog

WarningDialog

GappX::Dialogs::Meta::Widget::Trait::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'