|
|
|
|
|
Description |
A user-defined widget.
- 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.
|
|
Synopsis |
|
|
|
Documentation |
|
drawingAreaNew :: IO DrawingArea |
Create a new custom widget.
|
|
drawingAreaGetDrawWindow :: DrawingArea -> IO DrawWindow |
Retrieves the Drawable part.
|
|
drawingAreaGetSize :: DrawingArea -> IO (Int, Int) |
Returns the current size.
- This information may be out of date if the use is resizing the window.
|
|
Produced by Haddock version 0.6 |