Gtk.Container.PropagateExpose Method
Send synthetic expose events to all children that do not have their own Gdk.Windows.

Syntax

public void PropagateExpose (Widget child, Gdk.EventExpose evnt)

Parameters

child
an object of type Gtk.Widget
evnt
an object of type Gdk.EventExpose

Remarks

When a Gtk.Container receives an expose event, it must send synthetic expose events to all children that do not have their own Gdk.Windows. This function provides a convenient way of doing this. A Gtk.Container, when it receives an expose event, calls Container.PropagateExpose(Widget, Gdk.EventExpose) once for each child, passing in the event the Gtk.Container received.

Container.PropagateExpose(Widget, Gdk.EventExpose) takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event.

In most cases, a Gtk.Container can either simply inherit the expose implementation from Gtk.Container, or do some drawing and then chain to the expose implementation from Gtk.Container.

Requirements

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