Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: quick Tk question

by converter (Priest)
on Dec 05, 2003 at 21:04 UTC ( #312641=note: print w/ replies, xml ) Need Help??


in reply to quick Tk question

See the -show option in the Tk::Entry man page. Example:

#!/usr/bin/perl use warnings; use strict; use Tk; my $input = ''; my $m = tkinit; $m->Entry( -show => "*", -textvariable => \$input, )->pack; $m->Button( -text => 'Quit', -command => sub { $m->destroy }, )->pack; MainLoop; print "input was: $input\n";


Comment on Re: quick Tk question
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://312641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2015-07-28 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (255 votes), past polls