NAME
WWW::MenuGrinder::Plugin::Hotkey - WWW::MenuGrinder plugin that generates hotkeys from labels.
VERSION
version 0.06
DESCRIPTION
WWW::MenuGrinder::Plugin::HotKey
is a plugin for WWW::MenuGrinder
. You should not use it directly, but include it in the plugins
section of a WWW::MenuGrinder
config.
When loaded, this plugin will scan the menu for label
keys containing underscores. If an underscore is found, it will be removed, and the following character wrapped in <u>
tags (for example, "Hot_key"
becomes "Hot<u>k</u>ey"
, and the item's hotkey
key is set to the underlined character.
Configuration
None.
Bugs
This should probably be way more generic, instead of only useful for me. Suggestions welcome.
AUTHOR
Andrew Rodland <andrew@hbslabs.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by HBS Labs, LLC..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.