NAME
Tk::NumKeypad - A Numeric Keypad widget
SYNOPSIS
my $e = $mw->Entry(...)->pack; # Some entry widget
my $nkp = $mw->NumKeypad(-entry => $e)->pack; # Numeric keypad
DESCRIPTION
A numeric keypad, including a clear button and a decimal point button. This is useful for touchscreen or kiosk applications where access to a keyboard won't be available.
The keypad is arranged as follows:
7 8 9
4 5 6
1 2 3
. 0 C
The widget is designed to supply values to an Entry widget. Specify the Entry widget with the -entry option.
The following options/value pairs are supported:
METHODS
None.
ADVERTISED SUBWIDGETS
The individual buttons are advertised as "KP" + the button label. They are KP0, KP1, ... KP9, KP. and KPC .
AUTHOR
Steve (at) HauntedMines (dot) org
Copyright (C) 2010. Steve Roscio. All rights reserved.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
KEYWORDS
NumKeypad