Tkx::Login - A Simple Login Window for Tkx
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.
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)
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
Tkx::Login v1.10 (2014/04/13)
(c) 2012-2014, Phillip Pollard <bennie@cpan.org>
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
To install Tkx::Login, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tkx::Login
CPAN shell
perl -MCPAN -e shell install Tkx::Login
For more information on module installation, please visit the detailed CPAN module installation guide.