wx::perl::textvalidator(3) osx man page | unix.com

Man Page: wx::perl::textvalidator

Operating Environment: osx

Section: 3

TextValidator(3)					User Contributed Perl Documentation					  TextValidator(3)

NAME
Wx::Perl::TextValidator - Perl replacement for wxTextValidator
SYNOPSIS
my $storage = ''; my $validator1 = Wx::Perl::TextValidator->new( 'd', $storage ); my $validator2 = Wx::Perl::TextValidator->new( '[abcdef]' ); my $validator3 = Wx::Perl::TextValidator->new( qr/[a-zA-Z]/ ); my $textctrl = Wx::TextCtrl->new( $parent, -1, "", $pos, $size, $style, $validator1 );
DESCRIPTION
A "Wx::Validator" subclass that allows filtering user input to a "Wx::TextCtrl".
METHODS
my $validator1 = Wx::Perl::TextValidator->new( $regexp, $storage ); my $validator2 = Wx::Perl::TextValidator->new( $regexp ); Constructs a new "Wx::Perl::Validator". The first argument must be a regular expression matching a single-character string and is used to validate the field contents and user input. The second argument, if present, is used in TransferDataToWindow/TransferDataToWindow as the source/destination for the fields contents. The first argument can be a string as well as a reqular expression object created using C<qr//>. perl v5.10.0 2007-06-18 TextValidator(3)
Related Man Pages
perl::critic::themelisting(3) - centos
ppi::token::regexp::match5.18(3) - mojave
perl::critic::profileprototype(3) - centos
html::formfu::validator(3pm) - debian
perl::critic::userprofile(3pm) - debian
Similar Topics in the Unix Linux Community
Hearing Aid for OSX 10.12.x and greater.
Undeletable file
To print diamond asterisk pattern based on inputs
My first PERL incarnation... Audio Oscillograph