.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. _wx.PasswordEntryDialog: ========================================================================================================================================== |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. .. seealso:: :ref:`PasswordEntryDialog Overview ` | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class PasswordEntryDialog:
| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.PasswordEntryDialog.__init__` Constructor. :meth:`~wx.PasswordEntryDialog.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. .. method:: __init__(self, parent, message, caption=GetPasswordFromUserPromptStr, defaultValue="", style=TextEntryDialogStyle, pos=DefaultPosition) Constructor. Use :meth:`wx.TextEntryDialog.ShowModal` to show the dialog. :param `parent`: Parent window. :type `parent`: wx.Window :param `message`: Message to show on the dialog. :type `message`: string :param `caption`: The caption of the dialog. :type `caption`: string :param `defaultValue`: The default value, which may be the empty string. :type `defaultValue`: string :param `style`: 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. :type `style`: long :param `pos`: Dialog position. :type `pos`: wx.Point .. staticmethod:: GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL) :param `variant`: :type `variant`: wx.WindowVariant :rtype: :ref:`wx.VisualAttributes`