diplomat.wx_gui.settings_dialog.SettingsDialog
- class diplomat.wx_gui.settings_dialog.SettingsDialog(*args: Any, **kwargs: Any)[source]
Bases:
DialogA dialog of settings. Allows displaying a
SettingCollectionto a user in a dialog.- __init__(*args, title: str = 'Settings', settings: SettingCollection, **kwargs)[source]
Create a new dialog.
- Parameters:
title – The title of the dialog.
settings – The settings to display.
Additional positional and keyword arguments are passed directly to
wx.Dialogconstructor.
Methods
__init__(*args[, title])Create a new dialog.
Get the values selected by the user in the settings dialog.