DrawingArea —
A user-defined widget.
drawingAreaNew:: IO DrawingArea |
drawingAreaGetDrawWindow:: DrawingArea -> IO DrawWindow |
drawingAreaGetSize:: DrawingArea -> IO (Int,Int) |
The DrawingArea widget is used for creating custom user interface elements. It's essentially a blank widget. Drawing on the Drawable returned by drawingAreaGetWindow has to be done each time the window manager sends expose events. Note that the library automatically clears the exposed area to the background color before sending the expose event, and that drawing is implicitly clipped to the exposed area. Other events which are interesting for interacting are mouse and butten events defined in Widget. If the widget changes in size (which it does initially), a configure event is emitted.
Retrieves the Drawable part.
| drawingAreaGetDrawWindow | :: DrawingArea | :: IO DrawWindow |
| da |