wx.PasswordEntryDialog

Inheritance diagram for wx.PasswordEntryDialog:



Description

This class represents a dialog that requests a one-line password string from the user. It is implemented as a generic wxWidgets dialog.

Methods Summary

Class API

Methods

__init__(parent, message, caption=wx.GetPasswordFromUserPromptStr, value="", style=wx.TextEntryDialogStyle, pos=wx.DefaultPosition)

Constructor. Use the ShowModal method to show the dialog.

Parameters:

  • parent (wx.Window): The parent window.
  • message (string): Message to show on the dialog.
  • caption (string): The dialog title.
  • value (string): The default value, which may be the empty string.
  • style (long): A dialog style, specifying the buttons (wx.OK, wx.CANCEL) and an optional wx.CENTRE style. You do not need to specify the wx.TE_PASSWORD style, it is always applied.
  • pos (wx.Point): The dialog position.

Returns:

wx.PasswordEntryDialog


ShowModal()

Shows the dialog, returning one of wx.ID_OK or wx.ID_CANCEL.


Returns:

int