Documentation/Source/eric6.ViewManager.ViewManager.html

changeset 6209
05b9989c1977
parent 6123
39cd368143db
child 6934
eae7d1d9cc7b
equal deleted inserted replaced
6208:76445467adf8 6209:05b9989c1977
707 </tr><tr> 707 </tr><tr>
708 <td><a href="#ViewManager.checkAllDirty">checkAllDirty</a></td> 708 <td><a href="#ViewManager.checkAllDirty">checkAllDirty</a></td>
709 <td>Public method to check the dirty status of all editors.</td> 709 <td>Public method to check the dirty status of all editors.</td>
710 </tr><tr> 710 </tr><tr>
711 <td><a href="#ViewManager.checkDirty">checkDirty</a></td> 711 <td><a href="#ViewManager.checkDirty">checkDirty</a></td>
712 <td>Public method to check dirty status and open a message window.</td> 712 <td>Public method to check the dirty status and open a message window.</td>
713 </tr><tr>
714 <td><a href="#ViewManager.checkFileDirty">checkFileDirty</a></td>
715 <td>Public method to check the dirty status of an editor given its file name and open a message window.</td>
713 </tr><tr> 716 </tr><tr>
714 <td><a href="#ViewManager.clearRecent">clearRecent</a></td> 717 <td><a href="#ViewManager.clearRecent">clearRecent</a></td>
715 <td>Public method to clear the recent files menu.</td> 718 <td>Public method to clear the recent files menu.</td>
716 </tr><tr> 719 </tr><tr>
717 <td><a href="#ViewManager.cloneEditor">cloneEditor</a></td> 720 <td><a href="#ViewManager.cloneEditor">cloneEditor</a></td>
2225 <p> 2228 <p>
2226 Public method to check the dirty status of all editors. 2229 Public method to check the dirty status of all editors.
2227 </p><dl> 2230 </p><dl>
2228 <dt>Returns:</dt> 2231 <dt>Returns:</dt>
2229 <dd> 2232 <dd>
2230 flag indicating successful reset of all dirty flags (boolean) 2233 flag indicating successful reset of all dirty flags
2234 </dd>
2235 </dl><dl>
2236 <dt>Return Type:</dt>
2237 <dd>
2238 bool
2231 </dd> 2239 </dd>
2232 </dl><a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a> 2240 </dl><a NAME="ViewManager.checkDirty" ID="ViewManager.checkDirty"></a>
2233 <h4>ViewManager.checkDirty</h4> 2241 <h4>ViewManager.checkDirty</h4>
2234 <b>checkDirty</b>(<i>editor, autosave=False</i>) 2242 <b>checkDirty</b>(<i>editor, autosave=False</i>)
2235 <p> 2243 <p>
2236 Public method to check dirty status and open a message window. 2244 Public method to check the dirty status and open a message window.
2237 </p><dl> 2245 </p><dl>
2238 <dt><i>editor</i></dt> 2246 <dt><i>editor</i> (Editor)</dt>
2239 <dd> 2247 <dd>
2240 editor window to check 2248 editor window to check
2241 </dd><dt><i>autosave</i></dt> 2249 </dd><dt><i>autosave</i> (bool)</dt>
2242 <dd> 2250 <dd>
2243 flag indicating that the file should be saved 2251 flag indicating that the file should be saved
2244 automatically (boolean) 2252 automatically
2245 </dd> 2253 </dd>
2246 </dl><dl> 2254 </dl><dl>
2247 <dt>Returns:</dt> 2255 <dt>Returns:</dt>
2248 <dd> 2256 <dd>
2249 flag indicating successful reset of the dirty flag (boolean) 2257 flag indicating successful reset of the dirty flag
2258 </dd>
2259 </dl><dl>
2260 <dt>Return Type:</dt>
2261 <dd>
2262 bool
2263 </dd>
2264 </dl><a NAME="ViewManager.checkFileDirty" ID="ViewManager.checkFileDirty"></a>
2265 <h4>ViewManager.checkFileDirty</h4>
2266 <b>checkFileDirty</b>(<i>fn</i>)
2267 <p>
2268 Public method to check the dirty status of an editor given its file
2269 name and open a message window.
2270 </p><dl>
2271 <dt><i>fn</i> (str)</dt>
2272 <dd>
2273 file name of editor to be checked
2274 </dd>
2275 </dl><dl>
2276 <dt>Returns:</dt>
2277 <dd>
2278 flag indicating successful reset of the dirty flag
2279 </dd>
2280 </dl><dl>
2281 <dt>Return Type:</dt>
2282 <dd>
2283 bool
2250 </dd> 2284 </dd>
2251 </dl><a NAME="ViewManager.clearRecent" ID="ViewManager.clearRecent"></a> 2285 </dl><a NAME="ViewManager.clearRecent" ID="ViewManager.clearRecent"></a>
2252 <h4>ViewManager.clearRecent</h4> 2286 <h4>ViewManager.clearRecent</h4>
2253 <b>clearRecent</b>(<i></i>) 2287 <b>clearRecent</b>(<i></i>)
2254 <p> 2288 <p>
2290 <dd> 2324 <dd>
2291 flag indicating success (boolean) 2325 flag indicating success (boolean)
2292 </dd> 2326 </dd>
2293 </dl><a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a> 2327 </dl><a NAME="ViewManager.closeEditor" ID="ViewManager.closeEditor"></a>
2294 <h4>ViewManager.closeEditor</h4> 2328 <h4>ViewManager.closeEditor</h4>
2295 <b>closeEditor</b>(<i>editor</i>) 2329 <b>closeEditor</b>(<i>editor, ignoreDirty=False</i>)
2296 <p> 2330 <p>
2297 Public method to close an editor window. 2331 Public method to close an editor window.
2298 </p><dl> 2332 </p><dl>
2299 <dt><i>editor</i></dt> 2333 <dt><i>editor</i> (Editor)</dt>
2300 <dd> 2334 <dd>
2301 editor window to be closed 2335 editor window to be closed
2302 </dd> 2336 </dd><dt><i>ignoreDirty</i> (bool)</dt>
2303 </dl><dl> 2337 <dd>
2304 <dt>Returns:</dt> 2338 flag indicating to ignore the 'dirty' status
2305 <dd> 2339 </dd>
2306 flag indicating success (boolean) 2340 </dl><dl>
2341 <dt>Returns:</dt>
2342 <dd>
2343 flag indicating success
2344 </dd>
2345 </dl><dl>
2346 <dt>Return Type:</dt>
2347 <dd>
2348 bool
2307 </dd> 2349 </dd>
2308 </dl><a NAME="ViewManager.closeEditorWindow" ID="ViewManager.closeEditorWindow"></a> 2350 </dl><a NAME="ViewManager.closeEditorWindow" ID="ViewManager.closeEditorWindow"></a>
2309 <h4>ViewManager.closeEditorWindow</h4> 2351 <h4>ViewManager.closeEditorWindow</h4>
2310 <b>closeEditorWindow</b>(<i>editor</i>) 2352 <b>closeEditorWindow</b>(<i>editor</i>)
2311 <p> 2353 <p>
2327 <dd> 2369 <dd>
2328 flag indicating success (boolean) 2370 flag indicating success (boolean)
2329 </dd> 2371 </dd>
2330 </dl><a NAME="ViewManager.closeWindow" ID="ViewManager.closeWindow"></a> 2372 </dl><a NAME="ViewManager.closeWindow" ID="ViewManager.closeWindow"></a>
2331 <h4>ViewManager.closeWindow</h4> 2373 <h4>ViewManager.closeWindow</h4>
2332 <b>closeWindow</b>(<i>fn</i>) 2374 <b>closeWindow</b>(<i>fn, ignoreDirty=False</i>)
2333 <p> 2375 <p>
2334 Public method to close an arbitrary source editor. 2376 Public method to close an arbitrary source editor.
2335 </p><dl> 2377 </p><dl>
2336 <dt><i>fn</i></dt> 2378 <dt><i>fn</i> (str)</dt>
2337 <dd> 2379 <dd>
2338 filename of editor to be closed 2380 file name of the editor to be closed
2339 </dd> 2381 </dd><dt><i>ignoreDirty</i> (bool)</dt>
2340 </dl><dl> 2382 <dd>
2341 <dt>Returns:</dt> 2383 flag indicating to ignore the 'dirty' status
2342 <dd> 2384 </dd>
2343 flag indicating success (boolean) 2385 </dl><dl>
2386 <dt>Returns:</dt>
2387 <dd>
2388 flag indicating success
2389 </dd>
2390 </dl><dl>
2391 <dt>Return Type:</dt>
2392 <dd>
2393 bool
2344 </dd> 2394 </dd>
2345 </dl><a NAME="ViewManager.editorsCheckFocusInEnabled" ID="ViewManager.editorsCheckFocusInEnabled"></a> 2395 </dl><a NAME="ViewManager.editorsCheckFocusInEnabled" ID="ViewManager.editorsCheckFocusInEnabled"></a>
2346 <h4>ViewManager.editorsCheckFocusInEnabled</h4> 2396 <h4>ViewManager.editorsCheckFocusInEnabled</h4>
2347 <b>editorsCheckFocusInEnabled</b>(<i></i>) 2397 <b>editorsCheckFocusInEnabled</b>(<i></i>)
2348 <p> 2398 <p>

eric ide

mercurial