gint gtk_widget_send_expose ( GtkWidget* widget, GdkEvent* event )
Very rarely-used function. 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 (gtk_widget_get_has_window() is
and that is normally done using gtk_container_propagate_draw().
If you want to force an area of a window to be redrawn,
gdk_window_invalidate_rect() or gdk_window_invalidate_region().
To cause the redraw to be done immediately, follow that call
with a call to gdk_window_process_updates().
Deprecated since: 3.22
Application and widget code should not handle
expose events directly; invalidation should use the
API, and drawing should only happen inside
The data is owned by the caller of the method.