.. 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 <passwordentrydialog overview>`    







|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>PasswordEntryDialog</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.PasswordEntryDialog_inheritance.png" alt="Inheritance diagram of PasswordEntryDialog" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.PasswordEntryDialog.html" title="This class represents a dialog that requests a one-line password string from the user." alt="" coords="17,543,186,572"/> <area shape="rect" id="node2" href="wx.TextEntryDialog.html" title="This class represents a dialog that requests a one-line text string from the user." alt="" coords="34,466,169,495"/> <area shape="rect" id="node3" href="wx.Dialog.html" title="A dialog box is a window with a title bar and sometimes a system menu, which can be moved around the screen." alt="" coords="62,389,141,418"/> <area shape="rect" id="node4" href="wx.TopLevelWindow.html" title="wx.TopLevelWindow  is a common base class for wx.Dialog  and wx.Frame." alt="" coords="31,313,172,341"/> <area shape="rect" id="node5" href="wx.NonOwnedWindow.html" title="Common base class for all non-child windows." alt="" coords="24,236,179,265"/> <area shape="rect" id="node6" href="wx.Window.html" title="wx.Window  is the base class for all windows and represents any visible object on screen." alt="" coords="57,159,146,188"/> <area shape="rect" id="node7" href="wx.EvtHandler.html" title="A class that can handle events from the windowing system." alt="" coords="48,82,155,111"/> <area shape="rect" id="node8" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="5,5,86,34"/> <area shape="rect" id="node9" href="wx.Trackable.html" title="Add-on base class for a trackable object." alt="" coords="109,5,208,34"/> </map> 
   </p>
   </div>

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.PasswordEntryDialog.__init__`                                         Constructor.
:meth:`~wx.PasswordEntryDialog.GetClassDefaultAttributes`                        
================================================================================ ================================================================================


|


|api| Class API
===============


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



   .. method:: __init__(self, parent : Window, message : str, caption: str=GetPasswordFromUserPromptStr, defaultValue: str='', style: int=TextEntryDialogStyle, pos: Point=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
















      :rtype: `None`     



                  





   .. staticmethod:: GetClassDefaultAttributes(variant: WindowVariant=WINDOW_VARIANT_NORMAL)




      :param `variant`: 
      :type `variant`: wx.WindowVariant




      :rtype: :ref:`wx.VisualAttributes`







