GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::NUMENTRYPLAIN (3)

.ds Aq ’

NAME

Tk::NumEntryPlain - A numeric entry widget

CONTENTS

SYNOPSIS

<B>use Tk::NumEntryPlainB>;

DESCRIPTION

<B>Tk::NumEntryPlainB> defines a widget for entering integer numbers.

<B>Tk::NumEntryPlainB> supports all the options and methods that a normal Entry widget provides, plus the following options

STANDARD OPTIONS

<B>-repeatdelayB> <B>-repeatintervalB>

WIDGET-SPECIFIC OPTIONS

-minvalue Defines the minimum legal value that the widget can hold. If this value is undef then there is no minimum value (default = undef).
-maxvalue Defines the maximum legal value that the widget can hold. If this value is undef then there is no maximum value (default = undef).
-bell 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).
-textvariable Reference to a scalar variable that contains the value currently in the <B>NumEntryB>. Use the variable only for reading (see CAVEATS below).
-value Specifies the value to be inserted into the entry widget. Similar to the standard <B>-textB> option, but will perform a range check on the value.
-command A callback which is called if <Return> is pressed.
-browsecmd A callback which is called every time an increment or decrement happens in the entry widget.

WIDGET METHODS

$numentry-><B>incdecB>(increment) Increment the value of the entry widget by the specified increment. If increment is 0, then perform a range check.

CAVEATS

-textvariable <B>-textvariableB> should only be used to read out the current value in the <B>NumEntryB>.

Values set via <B>-textvariableB> are not valided. Therefore it’s possible to insert, e.g., ’abc’, into the <B>NumEntryB>.

SEE ALSO

Tk::NumEntry Tk::Entry

HISTORY

The code was extracted from <B>Tk::NumEntryB> and slightly modified by Achim Bohnet <ach@mpe.mpg.de>. Tk::NumEntry’s author is Graham Barr <gbarr@pobox.com>.

Current maintainer is Slaven Rezic <slaven@rezic.de>.

COPYRIGHT

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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NUMENTRYPLAIN (3) 2003-10-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.