Jerome Quelin > Games-Pandemic-1.120510 > Games::Pandemic::Tk::Dialog::Action

Download:
Games-Pandemic-1.120510.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.120510   Source  

NAME ^

Games::Pandemic::Tk::Dialog::Action - pandemic dialog to confirm an action

VERSION ^

version 1.120510

SYNOPSIS ^

    Games::Pandemic::Tk::Dialog::Action->new(
        parent    => $mw,
        title     => $title,       # optional
        header    => $header,      # optional
        icon      => $image,       # optional
        text      => $text,
        action    => $label,
        post_args => $postargs,
    );

DESCRIPTION ^

This module implements a dialog window asking the user whether she wants to perform an action or not. One can give more information with the text and icon.

It has a cancel button to close the dialog, and a $label action button that will perform a POE::Kernel post with the $postargs.

AUTHOR ^

Jerome Quelin

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2009 by Jerome Quelin.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991
syntax highlighting: