Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches

The view class, derived from wxView. More...

#include <view.h>

Inheritance diagram for wxStfView:
Collaboration diagram for wxStfView:

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.

Detailed Description

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.

Definition at line 38 of file view.h.


The documentation for this class was generated from the following file: