send_expose


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" ) ]
public int send_expose (Event event)

Warning: send_expose is deprecated since 3.22.

Very rarely-used function.

Note:

Application and widget code should not handle expose events directly; invalidation should use the Widget API, and drawing should only happen inside 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 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.

Parameters:

this

a Widget

event

a expose Event

Returns:

return from the event signal emission (true if the event was handled)