Re: [gtk-list] [Q] Password entry



- Catch the keypressed callback 
- Add a * to the entry
- Return TRUE in the signal callback (which means the signal will not be
processed by
  the entry inself , and thus no character is displayed

something like this should work i think

Jeroen

Craig Emery wrote:
> 
> Dear All,
> 
> appologies in advance is I'm asking a FAQ.
> 
> How do I write a dialog that takes a password from the
> user and (obviously) only shows *'s for the characters
> typed by the user?
> 
> TIA
> 
> Criag.
> 
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> 
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]