Package: gtk

Function gtk-widget-queue-draw-region

Lambda List

gtk-widget-queue-draw-region (widget region)

Arguments

widget -- a gtk-widget object
region -- a cairo-region-t region to draw

Details

Invalidates the rectangular area of widget defined by region by calling the gdk-window-invalidate-region function on the window of the widget and all its child windows. Once the main loop becomes idle, after the current batch of events has been processed, roughly, the window will receive expose events for the union of all regions that have been invalidated.

Normally you would only use this function in widget implementations. You might also use it to schedule a redraw of a gtk-drawing-area widget or some portion thereof.
 

See also

2021-9-19