Gtk.Widget.prototype.queue_draw_area
function queue_draw_area(x:Number, y:Number, width:Number, height:Number):void { // Gjs wrapper for gtk_widget_queue_draw_area() }
Convenience function that calls Gtk.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.
- x
x coordinate of upper-left corner of rectangle to redraw
- y
y coordinate of upper-left corner of rectangle to redraw
- width
width of region to draw
- height
height of region to draw