Gtk.Widget.SendExpose Method
Very rarely-used method. This method is used to emit an Widget.ExposeEvent events on a widget.

Syntax

public int SendExpose (Gdk.Event evnt)

Parameters

evnt
A Widget.ExposeEvent.

Returns

Return from the event emission (true if the event was handled).

Remarks

This method is not normally used directly. The only time it is used is when propagating an Widget.ExposeEvent to a child WidgetFlags.NoWindowwidget, and that is normally done using Container.PropagateExpose. If you want to force an area of a window to be redrawn, use Gdk.Window.InvalidateRect or Gdk.Window.InvalidateRegion. To cause the redraw to be done immediately, follow that call with a call to Gdk.Window.ProcessUpdates.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)