Jeffrey Ray Hallock > GappX-Dialogs-0.004 > GappX::Dialogs::Meta::Widget::Trait::MessageDialog

Download:
GappX-Dialogs-0.004.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.004   Source   Latest Release: GappX-Dialogs-0.005

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)
syntax highlighting: