class SavePageErrorDialog(ErrorDialog): (source)
Method | __init__ |
Constructor |
Method | discard |
Undocumented |
Method | do_response_ok |
Response handler for the 'OK' button @implementation: optional to be implemented by sub-classes that want to run some action after presenting the error. |
Method | run |
Runs the dialog and destroys it directly. |
Method | save_copy |
Undocumented |
Instance Variable | error |
Undocumented |
Instance Variable | page |
Undocumented |
Instance Variable | pageview |
Undocumented |
Instance Variable | timeout |
Undocumented |
Instance Variable | timer |
Undocumented |
Instance Variable | timer_label |
Undocumented |
Instance Variable | _done |
Undocumented |
Inherited from ErrorDialog
:
Method | assert_response_ok |
Undocumented |
Method | get_debug_text |
Get the text to show in the log of a "You found a bug" dialog. Includes zim version info and traceback info. |
Instance Variable | do_logging |
Undocumented |
Instance Variable | showing_trace |
Undocumented |
Method | _run |
Undocumented |
zim.gui.widgets.ErrorDialog.__init__
Parameters | |
pageview | Undocumented |
error | the actual error, either an Exception object (including instances of zim.errors.Error ), a string with the error description, or a 2-tuple of the short message and the longer description as strings. Using a tuple here will give a better looking dialog over using a simple string. |
page | Undocumented |
timeout | Undocumented |
parent | either a parent window or dialog or None |
exc_info | this is an optional argument that takes the result of sys.exc_info(). This parameter is not necessary in most cases where the dialog is run while the exception is still in scope. One reason to pass it on explicitly is the handling of errors from an async operation in the main tread. |
do_logging | if True also log the error, if False assume someone else already did |
buttons | a constant controlling what kind of buttons the dialog will have. One of:
|
Unknown Field: implementation | |
optional to be implemented by sub-classes that want to run some action after presenting the error. |