This class represents a dialog that requests a one-line password string from the user.
It is implemented as a generic wxWidgets dialog.
See also
Constructor. |
|
wx.
PasswordEntryDialog
(TextEntryDialog)¶Possible constructors:
PasswordEntryDialog(parent, message,
caption=GetPasswordFromUserPromptStr, defaultValue="",
style=TextEntryDialogStyle, pos=DefaultPosition)
This class represents a dialog that requests a one-line password string from the user.
__init__
(self, parent, message, caption=GetPasswordFromUserPromptStr, defaultValue="", style=TextEntryDialogStyle, pos=DefaultPosition)¶Constructor.
Use wx.TextEntryDialog.ShowModal
to show the dialog.
parent (wx.Window) – Parent window.
message (string) – Message to show on the dialog.
caption (string) – The caption of the dialog.
defaultValue (string) – The default value, which may be the empty string.
style (long) – A dialog style, specifying the buttons (wx``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) – Dialog position.
GetClassDefaultAttributes
(variant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –