2007-12-26 Douglas S. Blank <dblank@cs.brynmawr.edu>

* src/ViewManager.py: added __delete_pages called on quit
	* src/PageView.py: added on_delete method called on quit



svn: r9588
This commit is contained in:
Doug Blank
2007-12-26 15:48:51 +00:00
parent 9692af5e11
commit 8fca6769f9
3 changed files with 21 additions and 0 deletions

View File

@@ -293,6 +293,13 @@ class PageView:
else:
return None
def on_delete(self):
"""
Method called on shutdown. Data views should put code here
that should be called when quiting the main application.
"""
pass
class BookMarkView(PageView):
def __init__(self, title, state, uistate, bookmarks, bm_type):