Tk::HexEntry - A hexadecimal Entry widget with inc. & dec. Buttons
use Tk::HexEntry;
$parent->HexEntry(?-option=>value, ...?);
This is only a changed copy from Tk::NumEntry and Tk::NumEntryPlain write from Graham Barr <gbarr@pobox.com>. Thanks for this great Module!
Tk::HexEntry defines a widget for entering hexadecimal numbers. The widget also contains buttons for increment and decrement.
Tk::HexEntry supports all the options and methods that the plain HexEntry widget provides (see Tk::HexEntryPlain), plus the following options
Besides the standard options of the Entry widget HexEntry 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.
Boolean that defines if the inc and dec buttons are visible.
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 HexEntry may override the following methods to use different widgets for the composition of the HexEntry. These are: HexEntryPlainWidget, FireButtonWidget, 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@berlin.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 :-)
Rewrite to hexadecimal Values: Tk::HexEntry's author is Frank Herrmann <xpix@xpix.de>
To install Tk::HexEntry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::HexEntry
CPAN shell
perl -MCPAN -e shell install Tk::HexEntry
For more information on module installation, please visit the detailed CPAN module installation guide.