Package: gtk

Function gtk-widget-queue-draw-area

Lambda List

gtk-widget-queue-draw-area (widget x y width height)

Arguments

widget -- a gtk-widget object
x -- an integer with the x coordinate of upper-left corner of rectangle to redraw
y -- an integer with the y coordinate of upper-left corner of rectangle to redraw
width -- an integer with the width of region to draw
height -- an integer with the height of region to draw

Details

Convenience function that calls the gtk-widget-queue-draw-region functionon 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 GDK window coordinates for widgets that return true for the gtk-widget-has-window function, and are relative to widget->allocation.x, widget->allocation.y otherwise.

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

See also

2021-9-19