Graphics.Rendering.Chart.Gtk
Description
- renderableToWindow :: Renderable a -> Int -> Int -> IO ()
- createRenderableWindow :: Renderable a -> Int -> Int -> IO Window
- updateCanvas :: Renderable a -> DrawingArea -> IO Bool
Documentation
renderableToWindow :: Renderable a -> Int -> Int -> IO ()Source
Display a renderable in a gtk window.
Note that this is a convenience function that initialises GTK on it's first call, but not subsequent calls. Hence it's unlikely to be compatible with other code using gtk. In that case use createRenderableWindow.
createRenderableWindow :: Renderable a -> Int -> Int -> IO WindowSource
Create a new GTK window displaying a renderable.
updateCanvas :: Renderable a -> DrawingArea -> IO BoolSource