widget: Add draw signal
For now, the draw signal is emitted by default from the expose event, so widgets can chose to either implement the expose event or the draw function. This is for the transitional period from expose event to draw signal. Note that for now subclasses can only implement the draw function when none of their parents implemented the expose event.
Showing with 93 additions and 1 deletion