Widget.queueDrawArea

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 are not GTK_NO_WINDOW widgets, and are relative to widget->allocation.x, widget->allocation.y for widgets that are GTK_NO_WINDOW widgets.

class Widget
void
queueDrawArea
(
int x
,
int y
,
int width
,
int height
)

Parameters

x int

x coordinate of upper-left corner of rectangle to redraw

y int

y coordinate of upper-left corner of rectangle to redraw

width int

width of region to draw

height int

height of region to draw

Meta