CPlotView:GetViewPtr


The GetViewPtr method returns a pointer to the plot window wrapped by the CPlotView object. This pointer is required by some methods in other classes that use a direct pointer to a window in the Mira GUI, rather than a reference to a CPlotView object.

Syntax

pointer = CPlotView:GetViewPtr()

    On success, this method returns a pointer to the plot view window, not this CPlotView.

    On failure, this method returns nil.

Related Topics

CPlotView, Attach