GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Table of Contents
  • wx.PasswordEntryDialog
  • Show Source
  • index
  • modules
  • next
  • previous
  • Home
  • Gallery
  • wx

This view

  • Original page
  • New address

GeezerVison is showing docs.wxpython.org — wx.PasswordEntryDialog — wxPython 4.3.2 Docs

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.

See also

PasswordEntryDialog Overview


class_hierarchy Class Hierarchy¶

Inheritance diagram for class PasswordEntryDialog:

Inheritance diagram of 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) -> 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 optional wx.CENTRE style. You do not need to specify the wx.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:

wx.VisualAttributes

© Copyright 2012-2026, The wxPython Team. Created using Sphinx 9.1.0 and the python-docs-theme.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.