Trying to make an Entry widget for password entry. Most of
the time a password is needed by at times it is not. I
default the Entry box to -show => '*', but when I run
across a case where a password is not needed I want to
place text in the Entry widget and disable it so it is not
editable using,
$cw->{'txtPassWd'}->configure( -state => 'normal' );
$cw->{'txtPassWd'}->delete( 0, 'end' );
$cw->{'txtPassWd'}->configure( -show => '' );
$cw->{'txtPassWd'}->insert('end', "Not Needed"
;
$cw->{'txtPassWd'}->configure( -state => 'disabled' );
Once this code is executed the Entry box is full of \x00s.
Can you not put normal text into the Entry widget once you have unset -show????????
the time a password is needed by at times it is not. I
default the Entry box to -show => '*', but when I run
across a case where a password is not needed I want to
place text in the Entry widget and disable it so it is not
editable using,
$cw->{'txtPassWd'}->configure( -state => 'normal' );
$cw->{'txtPassWd'}->delete( 0, 'end' );
$cw->{'txtPassWd'}->configure( -show => '' );
$cw->{'txtPassWd'}->insert('end', "Not Needed"
$cw->{'txtPassWd'}->configure( -state => 'disabled' );
Once this code is executed the Entry box is full of \x00s.
Can you not put normal text into the Entry widget once you have unset -show????????