NAME

Games::Pandemic::Tk::Utils - Tk utilities for gui building

VERSION

version 1.120510

DESCRIPTION

This module exports some useful subs for tk guis.

METHODS

my $img = image( $path [, $toplevel ] );

Return a tk image loaded from $path. If the photo has already been loaded, return a handle on it. If $toplevel is given, it is used as base window to load the image.

my $img = pandemic_icon( [$toplevel] );

Return a tk image to be used as $toplevel icon throughout the game.

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