phoenix_title 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.


class_hierarchy Class Hierarchy

Inheritance diagram for class PasswordEntryDialog:

method_summary Methods Summary

__init__

Constructor.

GetClassDefaultAttributes


api Class API

class 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.


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 optional wx.CENTRE style. You do not need to specify the wx.TE_PASSWORD style, it is always applied.

  • pos (wx.Point) – Dialog position.



static GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)
Parameters

variant (WindowVariant) –

Return type

wx.VisualAttributes