Package gui :: Module settingsDialogs :: Class DictionaryDialog
[hide private]
[frames] | no frames]

Class DictionaryDialog

source code

 wx.Dialog --+    
             |    
SettingsDialog --+
                 |
                DictionaryDialog

Nested Classes [hide private]

Inherited from SettingsDialog: MultiInstanceError

Instance Methods [hide private]
 
__init__(self, parent, title, speechDict) source code
 
makeSettings(self, settingsSizer)
Populate the dialog with settings controls.
source code
 
postInit(self)
Called after the dialog has been created.
source code
 
onCancel(self, evt)
Take action in response to the Cancel button being pressed.
source code
 
onOk(self, evt)
Take action in response to the OK button being pressed.
source code
 
OnAddClick(self, evt) source code
 
OnEditClick(self, evt) source code
 
OnRemoveClick(self, evt) source code

Inherited from SettingsDialog: __del__, __new__

Class Variables [hide private]

Inherited from SettingsDialog: title

Inherited from SettingsDialog (private): _hasInstance

Method Details [hide private]

__init__(self, parent, title, speechDict)
(Constructor)

source code 
Parameters:
  • parent - The parent for this dialog; None for no parent.
Overrides: SettingsDialog.__init__
(inherited documentation)

makeSettings(self, settingsSizer)

source code 

Populate the dialog with settings controls. Subclasses must override this method.

Parameters:
  • sizer - The sizer to which to add the settings controls.
Overrides: SettingsDialog.makeSettings
(inherited documentation)

postInit(self)

source code 

Called after the dialog has been created. For example, this might be used to set focus to the desired control. Sub-classes may override this method.

Overrides: SettingsDialog.postInit
(inherited documentation)

onCancel(self, evt)

source code 

Take action in response to the Cancel button being pressed. Sub-classes may extend this method. This base method should always be called to clean up the dialog.

Overrides: SettingsDialog.onCancel
(inherited documentation)

onOk(self, evt)

source code 

Take action in response to the OK button being pressed. Sub-classes may extend this method. This base method should always be called to clean up the dialog.

Overrides: SettingsDialog.onOk
(inherited documentation)