Games::Pandemic::Tk::Dialog - base class for pandemic dialog windows


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.

Index


NAME

Top

Games::Pandemic::Tk::Dialog - base class for pandemic dialog windows

VERSION

Top

version 1.111030

DESCRIPTION

Top

Games::Pandemic::Tk::Dialog is meant to be used as a base class for Pandemic dialogs, and should not be used directly.

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
* 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.

AUTHOR

Top

Jerome Quelin

COPYRIGHT AND LICENSE

Top


Games-Pandemic documentation  | view source Contained in the Games-Pandemic distribution.