-
-
23 Sep 2008 19:50:04 UTC
- Distribution: Tk-GBARR
- Module version: 2.06
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (2033 / 3 / 0)
- Kwalitee
Bus factor: 1- 50.00% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (24.32KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Tk
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- SYNOPSIS
- DESCRIPTION
- STANDARD OPTIONS
- WIDGET-SPECIFIC OPTIONS
- WIDGET METHODS
- AUTHOR
- ACKNOWLEDGEMENTS
- COPYRIGHT
NAME
Tk::NumEntry - A numeric Entry widget with inc. & dec. Buttons
SYNOPSIS
use Tk::NumEntry;
$parent->NumEntry(?-option=>value, ...?);
DESCRIPTION
Tk::NumEntry defines a widget for entering integer numbers. The widget also contains buttons for increment and decrement.
Tk::NumEntry supports all the options and methods that the plain NumEntry widget provides (see Tk::NumEntryPlain), plus the following options
STANDARD OPTIONS
Besides the standard options of the Entry widget NumEntry supports:
-orient -repeatdelay -repeatinterval
The -orient option specifies the packing order of the increment and decrement buttons. This option can only be set at creation time.
WIDGET-SPECIFIC OPTIONS
- Name: buttons
- Class: Buttons
- Switch: -buttons
- Fallback: 1
-
Boolean that defines if the inc and dec buttons are visible.
- Switch: -readonly
- Fallback: 0
-
If -readonly is set to a true value, then the value can only be changed by pressing the increment/decrement buttons. This option can only be set at creation time.
WIDGET METHODS
Subclasses of NumEntry may override the following methods to use different widgets for the composition of the NumEntry. These are: NumEntryPlainWidget (usually
NumEntryPlain
), FireButtonWidget (usuallyFireButton
, IncFireButtonWidget and DecFireButtonWidget. FireButtonWidget is used if IncFireButtonWidget or DecFireButtonWidget are not defined.AUTHOR
Graham Barr <gbarr@pobox.com>
Current maintainer is Slaven Rezic <slaven@rezic.de>.
ACKNOWLEDGEMENTS
I would to thank Achim Bohnet <ach@mpe.mpg.de> for all the feedback and testing. And for the splitting of the original Tk::NumEntry into Tk::FireButton, Tk::NumEntryPlain and Tk::NumEntry
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.
Except the typo's, they blong to Achim :-)
Module Install Instructions
To install Tk::Cloth, copy and paste the appropriate command in to your terminal.
cpanm Tk::Cloth
perl -MCPAN -e shell install Tk::Cloth
For more information on module installation, please visit the detailed CPAN module installation guide.