|
Stimfit @PACKAGE_VERSION@
|
The view class, derived from wxView. More...
#include <view.h>


Public Member Functions | |
| wxStfView () | |
| Constructor. | |
| ~wxStfView () | |
| Destructor. | |
| virtual bool | OnCreate (wxDocument *doc, long flags) |
| Override default view creation. | |
| virtual void | OnDraw (wxDC *dc) |
| The drawing function (note that actual drawing happens in wxStfGraph::OnDraw()) | |
| virtual void | OnUpdate (wxView *sender, wxObject *hint=(wxObject *) NULL) |
| Override default updating behaviour. | |
| virtual bool | OnClose (bool deleteWindow=true) |
| Override default file closing behaviour. | |
| wxStfGraph * | GetGraph () |
| Retrieve the attached graph. | |
| wxStfDoc * | Doc () |
| Retrieve the attached document. | |
| wxStfDoc * | DocC () const |
| Retrieve the attached document. | |
Protected Member Functions | |
| virtual void | OnActivateView (bool activate, wxView *activeView, wxView *deactiveView) |
| Called when the view is activated; dialogs and menus are then updated. | |
The view class, derived from wxView.
It is used to model the viewing and editing component of the file-based data. It is part of the document/view framework supported by wxWidgets. Note that this class does almost nothing in stimfit. Its only purpose is to adhere to the doc/view paradigm. All of the actual drawing happens in wxStfGraph.