Gtk.Widget.prototype.send_expose

function send_expose(event:Gdk.Event):Number {
    // Gjs wrapper for gtk_widget_send_expose()
}

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 child %NO_WINDOW widget, and that is normally done using Gtk.Container.prototype.propagate_draw.

If you want to force an area of a window to be redrawn, use Gdk.invalidate_rect or Gdk.invalidate_region. To cause the redraw to be done immediately, follow that call with a call to Gdk.process_updates.

event

a expose Gdk.Event

Returns

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