/
README
45 lines (31 loc) · 1.63 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Tkx::Login - A Simple Login Window for Tkx - vVERSIONTAG
================================================================================
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.
================================================================================
INSTALLATION:
================================================================================
To install this module type the following:
perl Makefile.PL
make
make test
make install
================================================================================
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)
================================================================================
AUTHORSHIP:
================================================================================
Tkx::Login vVERSIONTAG DATETAG
(c) 2012-YEARTAG, Phillip Pollard <bennie@cpan.org>
Released under the Perl Artistic License