2885 bool |
2885 bool |
2886 </dd> |
2886 </dd> |
2887 </dl> |
2887 </dl> |
2888 <a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a> |
2888 <a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a> |
2889 <h4>ViewManager.checkDirty</h4> |
2889 <h4>ViewManager.checkDirty</h4> |
2890 <b>checkDirty</b>(<i>editor, autosave=False</i>) |
2890 <b>checkDirty</b>(<i>editor, autosave=False, closeIt=False</i>) |
2891 |
2891 |
2892 <p> |
2892 <p> |
2893 Public method to check the dirty status and open a message window. |
2893 Public method to check the dirty status and open a message window. |
2894 </p> |
2894 </p> |
2895 <dl> |
2895 <dl> |
2896 |
2896 |
2897 <dt><i>editor</i> (Editor)</dt> |
2897 <dt><i>editor</i> (Editor)</dt> |
2898 <dd> |
2898 <dd> |
2899 editor window to check |
2899 editor window to check |
2900 </dd> |
2900 </dd> |
2901 <dt><i>autosave</i> (bool)</dt> |
2901 <dt><i>autosave</i> (bool (optional))</dt> |
2902 <dd> |
2902 <dd> |
2903 flag indicating that the file should be saved |
2903 flag indicating that the file should be saved |
2904 automatically |
2904 automatically (defaults to False) |
|
2905 </dd> |
|
2906 <dt><i>closeIt</i> (bool (optional))</dt> |
|
2907 <dd> |
|
2908 flag indicating a check in order to close the editor |
|
2909 (defaults to False) |
2905 </dd> |
2910 </dd> |
2906 </dl> |
2911 </dl> |
2907 <dl> |
2912 <dl> |
2908 <dt>Return:</dt> |
2913 <dt>Return:</dt> |
2909 <dd> |
2914 <dd> |