Very rarely-used function.
Application and widget code should not handle expose events directly; invalidation should use the
Widget API, and drawing should only happen inside GtkWidget::draw
implementations
This function is used to emit an expose event on a widget. This function is not normally used directly. The only time it is used is when
propagating an expose event to a windowless child widget (get_has_window is
false), and that is normally done using gtk_container_propagate_draw.
If you want to force an area of a window to be redrawn, use invalidate_rect or invalidate_region. To cause the redraw to be done immediately, follow that call with a call to process_updates.
| this |
a Widget |
| event |
a expose Event |
|
return from the event signal emission (true if the event was handled) |