Is the wxGetPasswordFromUser() function implemented in wxPython? I can't get
it to work.
Dan
···
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users
Robin
2
Is the wxGetPasswordFromUser() function implemented in wxPython? I can't get
it to work.
It doesn't seem to be there (yet) but you can easily do it yourself in Python code, something like this:
def wxGetPasswordFromUser(message, caption, defaultValue, parent=None)
st = ""
dialog = wxTextEntryDialog(parent, message, caption, defaultValue,
wxOK | wxCANCEL | wxTE_PASSWORD)
if dialog.ShowModal() == wxID_OK:
st = dialog.GetValue();
return st
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!
_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users