NAME

Tkx::Login - A Simple Login Window for Tkx

SYNOPSIS:

Tkx::Login provides a simple login interface for Tkx applications. Given a window value to extend, it opens a new window, queries for username and password and returns the values.

USAGE:

use Tkx::Login;
  
my ($username,$password) = Tkx::Login::askpass($mainwindow,$message,$pre_user,$pre_password);

Parameters:

$mainwindow - Current MainWindow in your Tkx app. (required)
$message - A text message to display in the login window. (optional)
$pre_user - A value to pre-populate the username blank with. (optional)
$pre_pass - A value to pre-populate the password blank with. This will be obscured with asterisks. (optional)

BUGS AND SOURCE

Bug tracking for this module: https://rt.cpan.org/Dist/Display.html?Name=Tkx-Login

Source hosting: http://www.github.com/bennie/perl-Tkx-Login

VERSION

Tkx::Login v1.11 (2014/04/29)

COPYRIGHT

(c) 2012-2014, Phillip Pollard <bennie@cpan.org>

LICENSE

This source code is released under the "Perl Artistic License 2.0," the text of which is included in the LICENSE file of this distribution. It may also be reviewed here: http://opensource.org/licenses/artistic-license-2.0