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




Use a Text Entry widget and use:

void gtk_entry_set_visibility( GtkEntry *entry,
                                    gboolean  visible );

see tutorial for further details

-tony


On 10-Apr-2000 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.

---
E-Mail: trog@gtk.org
You're being followed.  Cut out the hanky-panky for a few days.

Go Bezerk! http://www.gtk.org/~trog



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