- STANDARD OPTIONS
- WIDGET-SPECIFIC OPTIONS
- WIDGET METHODS
- SEE ALSO
Tk::NumEntryPlain - A numeric entry widget
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
Defines the minimum legal value that the widget can hold. If this value is
undefthen there is no minimum value (default = undef).
Defines the maximum legal value that the widget can hold. If this value is
undefthen there is no maximum value (default = undef).
Specifies a boolean value. If true then a bell will ring if the user attempts to enter an illegal character into the entry widget, and when the user reaches the upper or lower limits when using the up/down buttons for keys (default = true).
Reference to a scalar variable that contains the value currently in the NumEntry. Use the variable only for reading (see "CAVEATS" below).
Specifies the value to be inserted into the entry widget. Similar to the standard -text option, but will perform a range check on the value.
A callback which is called if <Return> is pressed.
A callback which is called every time an increment or decrement happens in the entry widget.
Increment the value of the entry widget by the specified increment. If increment is 0, then perform a range check.
-textvariable should only be used to read out the current value in the NumEntry.
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 <email@example.com>. Tk::NumEntry's author is Graham Barr <firstname.lastname@example.org>.
Current maintainer is Slaven Rezic <email@example.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.