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 : Window, message : str, caption:
str=GetPasswordFromUserPromptStr, defaultValue: str='', style:
int=TextEntryDialogStyle, pos: Point=DefaultPosition) -> None
This class represents a dialog that requests a one-line password string from the user.
__init__
(self, parent : Window, message : str, caption: str=GetPasswordFromUserPromptStr, defaultValue: str='', style: int=TextEntryDialogStyle, pos: Point=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.
None
GetClassDefaultAttributes
(variant: WindowVariant=WINDOW_VARIANT_NORMAL)¶variant (WindowVariant) –