Package speakeasy :: Module speakeasy_ui :: Class DialogService
[hide private]
[frames] | no frames]

Class DialogService

source code

object --+
         |
        DialogService

Nested Classes [hide private]
  ButtonSaveResult
Instance Methods [hide private]
 
__init__(self, parent=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
showErrorMsg(self, errMsg)
Given a string, pop up an error dialog.
source code
 
showInfoMessage(self, text) source code
DialogService.ButtonSaveResult
newButtonSetOrUpdateCurrent(self)
Asks user whether saving of button set is to be to a new file, or an update to the current file.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, parent=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

showErrorMsg(self, errMsg)

source code 

Given a string, pop up an error dialog.

Parameters:
  • errMsg (string) - The message

newButtonSetOrUpdateCurrent(self)

source code 

Asks user whether saving of button set is to be to a new file, or an update to the current file. Cancel is offered as well.

Returns: DialogService.ButtonSaveResult
ButtonSaveResult.NEW_SET, ButtonSaveResult.UPDATE_CURRENT, or ButtonSaveResult.CANCEL