Games::Pandemic::Tk::Dialog - base class for pandemic dialog windows
version 1.120510
Games::Pandemic::Tk::Dialog is meant to be used as a base class for Pandemic dialogs, and should not be used directly.
Games::Pandemic::Tk::Dialog
It will create a new toplevel with the Pandemic icon, a title and possibly a header.
It accepts the following attributes:
parent - the parent window of the dialog, required
title - the dialog title, default to Pandemic
Pandemic
header - a header to display at the top of the window, no default
To subclass it, declare your own attributes, create the lazy builders for the attributes, augment the _build_gui() method to create the bottom of the dialog window, and implement the _valid() method that would be called when ok button is pressed.
augment
_build_gui()
_valid()
Jerome Quelin
This software is Copyright (c) 2009 by Jerome Quelin.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
To install Games::Pandemic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Games::Pandemic
CPAN shell
perl -MCPAN -e shell install Games::Pandemic
For more information on module installation, please visit the detailed CPAN module installation guide.