Declaration [src]

gtk_widget_queue_draw_area (
  GtkWidget* widget,
  gint x,
  gint y,
  gint width,
  gint height

Description [src]

Convenience function that calls gtk_widget_queue_draw_region() on the region created from the given coordinates.

The region here is specified in widget coordinates. Widget coordinates are a bit odd; for historical reasons, they are defined as widget->window coordinates for widgets that return TRUE for gtk_widget_get_has_window(), and are relative to widget->allocation.x, widget->allocation.y otherwise.

width or height may be 0, in this case this function does nothing. Negative values for width and height are not allowed.


x gint

X coordinate of upper-left corner of rectangle to redraw.

y gint

Y coordinate of upper-left corner of rectangle to redraw.

width gint

Width of region to draw.

height gint

Height of region to draw.