FigureWidget

The default widget for displaying Figure and Subplot objects on screen. This class has no public constructor or static factory method because the proper way to instantiate this object is via the toWidget properties of FigureBase and Subplot.

Members

Functions

draw
void draw()

Draw the figure to the internal drawing area.

figure
FigureBase figure()

Get the underlying FigureBase object.

parentSizeChanged
void parentSizeChanged(GtkAllocation* alloc, Widget widget)

If set as an addOnSizeAllocate callback, this will resize this control to the size of its parent window when the parent window is resized.

Meta