The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.7.0

DESCRIPTION

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, and augment the _build_gui() method to create the bottom of the dialog window.

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 3, June 2007