Hi,
Using GTK, the following works
-- | create a new 'Figure' plot
-- click on the window to save
plotNew :: FigureHandle -> IO DrawingArea
plotNew f = do
canvas <- drawingAreaNew
set canvas [maybeFigure := (Just f)]
return canvas
Hi,
On 28 February 2012 03:28, Alexander McPhail <
haskell.vivian.mcph...@gmail.com> wrote:
> Hi,
>
> Using GTK, the following works
>
>
>
> -- | create a new 'Figure' plot
> -- click on the window to save
> plotNew :: FigureHandle -> IO DrawingArea
> plotNew f = do
>canvas <- drawingAre