Tk::NumEntryPlain - A numeric entry widget |
Tk::NumEntryPlain - A numeric entry widget
use Tk::NumEntryPlain;
Tk::NumEntryPlain defines a widget for entering integer numbers.
Tk::NumEntryPlain supports all the options and methods that a normal Entry widget provides, plus the following options
-repeatdelay -repeatinterval
undef
then there is no minimum value (default = undef).
undef
then there is no maximum value (default = undef).
Values set via -textvariable are not valided. Therefore it's possible to insert, e.g., 'abc', into the NumEntry.
The code was extracted from Tk::NumEntry and slightly modified by Achim Bohnet >ach@mpe.mpg.de>. Tk::NumEntry's author is Graham Barr >gbarr@pobox.com>.
Copyright (c) 1997-1998 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Tk::NumEntryPlain - A numeric entry widget |