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.

Constructors

this
this(FigureBase fig)
Undocumented in source.

Members

Functions

draw
void draw(double w, double h)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()

Draw the figure to the internal drawing area.

figure
FigureBase figure()

Get the underlying FigureBase object.

onDraw
bool onDraw(Scoped!Context context, Widget drawingArea)
Undocumented in source. Be warned that the author may not have intended to support it.
onSizeAllocate
void onSizeAllocate(GtkAllocation* allocation, Widget widget)
Undocumented in source. Be warned that the author may not have intended to support it.
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