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
NumEntry(3) User Contributed Perl Documentation NumEntry(3)

Tk::NumEntry - A numeric Entry widget with inc. & dec. Buttons

    use Tk::NumEntry;

    $parent->NumEntry(?-option=>value, ...?);

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

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.

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.

Subclasses of NumEntry may override the following methods to use different widgets for the composition of the NumEntry. These are: NumEntryPlainWidget (usually "NumEntryPlain"), FireButtonWidget (usually "FireButton", IncFireButtonWidget and DecFireButtonWidget. FireButtonWidget is used if IncFireButtonWidget or DecFireButtonWidget are not defined.

Graham Barr <gbarr@pobox.com>

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

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 (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 :-)

2006-05-23 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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