wx.PasswordEntryDialog¶
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
Class Hierarchy¶
Methods Summary¶
Constructor. |
|
Class API¶
- class wx.PasswordEntryDialog(TextEntryDialog)¶
Possible constructors:
PasswordEntryDialog(parent, message, caption=GetPasswordFromUserPromptStr, defaultValue='', style=TextEntryDialogStyle, pos=DefaultPosition) -> None
This class represents a dialog that requests a one-line password string from the user.
Methods¶
- __init__(self, parent, message, caption=GetPasswordFromUserPromptStr, defaultValue='', style=TextEntryDialogStyle, pos=DefaultPosition)¶
Constructor.
Use
wx.TextEntryDialog.ShowModal
to show the dialog.- Parameters:
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 optionalwx.CENTRE
style. You do not need to specify thewx.TE_PASSWORD
style, it is always applied.pos (wx.Point) – Dialog position.
- Return type:
None
- static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)¶
- Parameters:
variant (WindowVariant)
- Return type: