Table Of Contents

Previous topic

PolySpline

Next topic

popupctl

This Page

phoenix_title TestFrame


class_hierarchy Inheritance Diagram

Inheritance diagram for class TestFrame

Inheritance diagram of TestFrame


super_classes Known Superclasses

Frame


api Class API



class TestFrame(Frame)

Methods



__init__(self, parent, id, title)


DrawPointLabel(self, dc, mDataDict)

This is the fuction that defines how the pointLabels are plotted dc - DC that will be passed mDataDict - Dictionary of data that you want to use for the pointLabel

As an example I have decided I want a box at the curve point with some text information about the curve plotted below. Any wxDC method can be used.



OnBackgroundGray(self, event)


OnBackgroundWhite(self, event)


OnEnableAntiAliasing(self, event)


OnEnableCenterLines(self, event)


OnEnableDiagonals(self, event)


OnEnableDrag(self, event)


OnEnableGrid(self, event)


OnEnableHiRes(self, event)


OnEnableLegend(self, event)


OnEnablePointLabel(self, event)


OnEnableZoom(self, event)


OnFileExit(self, event)


OnFilePageSetup(self, event)


OnFilePrint(self, event)


OnFilePrintPreview(self, event)


OnForegroundBlack(self, event)


OnForegroundRed(self, event)


OnHelpAbout(self, event)


OnMotion(self, event)


OnMouseLeftDown(self, event)


OnPlotClear(self, event)


OnPlotDraw1(self, event)


OnPlotDraw2(self, event)


OnPlotDraw3(self, event)


OnPlotDraw4(self, event)


OnPlotDraw5(self, event)


OnPlotDraw6(self, event)


OnPlotDraw7(self, event)


OnPlotRedraw(self, event)


OnPlotScale(self, event)


OnReset(self, event)


OnSaveFile(self, event)


OnScrRt(self, event)


OnScrUp(self, event)


resetDefaults(self)

Just to reset the fonts back to the PlotCanvas defaults