diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-17 12:39:12 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-09-17 12:39:12 (GMT) |
commit | ef5cd05c3d68137a59a84acd418342532e3940c6 (patch) | |
tree | 544f8c9b00c6eae068d570ccd5f4025b6c242dd9 /Mac/Demo/textedit.html | |
parent | 4cb945454a91188823fd289a13e417bdd20050e2 (diff) | |
download | cpython-ef5cd05c3d68137a59a84acd418342532e3940c6.zip cpython-ef5cd05c3d68137a59a84acd418342532e3940c6.tar.gz cpython-ef5cd05c3d68137a59a84acd418342532e3940c6.tar.bz2 |
Calling Application._quit() is now preferred over raising self.
Diffstat (limited to 'Mac/Demo/textedit.html')
-rw-r--r-- | Mac/Demo/textedit.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Mac/Demo/textedit.html b/Mac/Demo/textedit.html index d56ea0b..606c668 100644 --- a/Mac/Demo/textedit.html +++ b/Mac/Demo/textedit.html @@ -108,8 +108,7 @@ lines. <p> Oh yes: the <code>quit</code> callback does a little magic too. It closes all windows, and only if this succeeds it actually quits. This gives the user a chance to cancel the operation if some files are unsaved. -Quitting itself is also a bit strange: you raise <code>self</code> to break out of the main loop. This bit -of idiom was invented by Guido, so blame him:-). <p> +<p> Lastly, there is the <code>idle</code> method, called by the Application base class when no event is available. It is forwarded to the active window, so it can blink the text caret. <p> |