GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.RichMessageDialog — wxPython 4.3.2 Docs
|
Constructor specifying the rich message dialog properties. |
|
Retrieves the label for the checkbox. |
|
Retrieves the detailed text. |
|
Retrieves the footer icon. |
|
Retrieves the footer text. |
|
Retrieves the state of the checkbox. |
|
Specify the footer icon set together with the footer text. |
|
Shows or hides a footer text that is used at the bottom of the dialog together with an optional icon. |
|
Shows a checkbox with a given label or hides it. |
|
Shows or hides a detailed text and an expander that is used to show or hide the detailed text. |
|
Shows the dialog, returning one of |
Properties Summary¶See |
|
See |
|
See |
|
See |
Class API¶Possible constructors:
RichMessageDialog(parent, message, caption=MessageBoxCaptionStr, style=OK|CENTRE) -> None
Extension of MessageDialog with additional functionality.
Constructor specifying the rich message dialog properties.
Works just like the constructor for wx.MessageDialog.
parent (wx.Window)
message (string)
caption (string)
style (long)
None
Retrieves the label for the checkbox.
str
The label for the checkbox, will be the empty string if no checkbox is used.
variant (WindowVariant)
Retrieves the detailed text.
str
The detailed text or empty if detailed text is not used.
Retrieves the footer icon.
int
The footer icon or 0 if footer icon is not used.
Added in version 4.1/wxWidgets-3.1.1.
See also
Retrieves the footer text.
str
The footer text or empty if footer text is not used.
Added in version 4.1/wxWidgets-3.1.1.
Retrieves the state of the checkbox.
If this method is called before showing the dialog, the initial value of the checkbox, as set by ShowCheckBox is used. If it is called after calling wx.Dialog.ShowModal , the value set by the user is returned.
bool
True if the checkbox is checked or False if not.
Specify the footer icon set together with the footer text.
Valid values are ICON_INFORMATION , ICON_WARNING , ICON_AUTH_NEEDED and ICON_ERROR (notice that ICON_QUESTION is not allowed here).
icon (int)
None
Added in version 4.1/wxWidgets-3.1.1.
See also
Shows or hides a footer text that is used at the bottom of the dialog together with an optional icon.
footerText (string) – The footer text if empty no footer text will be used.
None
Added in version 4.1/wxWidgets-3.1.1.
See also
Shows a checkbox with a given label or hides it.
checkBoxText (string) – If the parameter is non-empty a checkbox will be shown with that label, otherwise it will be hidden.
checked (bool) – The initial state of the checkbox.
None
Shows or hides a detailed text and an expander that is used to show or hide the detailed text.
detailedText (string) – The detailed text that can be expanded when the dialog is shown, if empty no detailed text will be used.
None
Shows the dialog, returning one of wx.ID_OK, wx.ID_CANCEL, wx.ID_YES, wx.ID_NO.
IsCheckBoxChecked can be called afterwards to retrieve the value of the check box if one was used.
int
See GetCheckBoxText
See GetDetailedText
See GetFooterIcon and SetFooterIcon
See GetFooterText and SetFooterText