Package Editra :: Package src :: Module ed_mdlg
[hide private]

Module ed_mdlg

source code

This module provides a number of message dialogs that are commonly used throughout Editra. Its purpose is to promote reuse of the common dialogs for consistancy and reduction in redundant code.


Author: Cody Precord <cprecord@editra.org>

Classes [hide private]
  EdFileInfoDlg
File information dialog
  EdFormatEOLDlg
Dialog for selecting EOL format
Functions [hide private]
 
OpenErrorDlg(parent, fname, err)
Show a file open error dialog
source code
 
SaveErrorDlg(parent, fname, err)
Show a file save error modal dialog
source code
Variables [hide private]
  __svnid__ = '$Id: ed_mdlg.py 59256 2009-03-02 00:52:16Z CJP $'
  __revision__ = '$Revision: 59256 $'
  FileIcon = PyEmbeddedImage("iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCA...
Function Details [hide private]

OpenErrorDlg(parent, fname, err)

source code 

Show a file open error dialog

Parameters:
  • parent - parent window
  • fname - file that failed to open
  • err - error message

SaveErrorDlg(parent, fname, err)

source code 

Show a file save error modal dialog

Parameters:
  • parent - window that the dialog is the child of
  • fname - name of file that error occured
  • err - the err message/description
Returns:
wxID_OK if dialog was shown and dismissed properly

Variables Details [hide private]

FileIcon

Value:
PyEmbeddedImage("iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCS\
VQICAgIfAhkiAAABthJ" "REFUWIW9l21sVFkZgJ/7Pd8zLdOWQloiIA2WbiqBLWhhdw3I\
AhuyRqMxq64uv1B/GMJqYvzK" "qqkmfqx/3UiC7q4QN5o1UnbRPyVLgdYtCAjdju2Uwhb\
abmd6O9PpdO7H8Ud7h2lnaLv+8E1u" "zj3vnXPe57znfd9zRqJcIseOHXsxGo1W5fP5nO\
u6xQ+OIwAXT+e6LrZtUygUdE3T3O7u7pP9" "/f03K8y5egkGgy2maTpiBXEcR1iWJXK5n\
BgbGxPJZFJ0d3eL3bt3H/4w9qSlinA43NbT03O5" "oaGBdDoNgBAC13WLreM4xb4QAtu2\
SaVSzMzMEI/HOX78+KGLFy+eWw2AXEYkSWKhLdWhKAqy" "LCPLMoqiFPuSJKFpGrFYjIm\
JCUzTpLOzs7O1tfXg/wTgGaz0eIZVVS2+eyC6rhOLxRgaGiIS" "idDV1dXZ0tKyIkQZgG\
...