Struct

GdkEventExpose

Description [src]

struct GdkEventExpose {
  GdkEventType type;
  GdkWindow* window;
  gint8 send_event;
  GdkRectangle area;
  cairo_region_t* region;
  gint count;
}

Generated when all or part of a window becomes visible and needs to be redrawn.

Structure members
type: GdkEventType

The type of the event (GDK_EXPOSE or GDK_DAMAGE).

window: GdkWindow

The window which received the event.

send_event: gint8

TRUE if the event was sent explicitly.

area: GdkRectangle

Bounding box of region.

region: cairo_region_t

The region that needs to be redrawn.

count: gint

The number of contiguous GDK_EXPOSE events following this one. The only use for this is “exposure compression”, i.e. handling all contiguous GDK_EXPOSE events in one go, though GDK performs some exposure compression so this is not normally needed.