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

The type of the event (GDK_EXPOSE or GDK_DAMAGE).

window

The window which received the event.

send_event

TRUE if the event was sent explicitly.

area

Bounding box of region.

region

The region that needs to be redrawn.

count

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.