When the infrastructure calls Draw(), the widget must block on the call until it finishes drawing onto the provided canvas. When given the canvas, the widget must first determine its size by calling Canvas.Size(), then limit all its drawing to this area. The widget must not assume that the size of
(cvs *canvas.Canvas, meta *Meta)
| 173 | // |
| 174 | // The argument meta is guaranteed to be valid (i.e. non-nil). |
| 175 | Draw(cvs *canvas.Canvas, meta *Meta) error |
| 176 | |
| 177 | // Keyboard is called with every keyboard event whose scope the widget |
| 178 | // registered for. |
no outgoing calls