Tk-VisualBrowser
view release on metacpan or search on metacpan
lib/Tk/VisualBrowser.pm view on Meta::CPAN
# for example: (assuming that the thumbnails are
# in the same directory but with .gif extension):
$image_filename =~ s/\.jpg/.gif/i;
return $image_filename;
}
It could also be arranged that the thumbnail_handler creates the GIF
images when they do not yet exist. So the viewing of an image directory
would automatically create the thumbnails (with Image::Magick, for example).
NOTE: The names in the @PICTURES array need not be valid filenames,
although they normally are. The names of the GIF files
provided by the thumbnail_handler must be valid filenames,
either relative to the current working directory or absolute
pathnames.
=head2 Handlers for Mouse Button Events
The application can specify its own handlers for mousebutton events, e. g.:
( run in 0.797 second using v1.01-cache-2.11-cpan-beeb90c9504 )