draw_background


Description:

public signal void draw_background (Context cr, Rectangle rect)

Emitted during painting, before the node contents has been rendered.

Allows consumers to draw a custom background for the widget.

Note: Manipulating the view widget in the signal handler is not supported. This signal is only available if GEGL-GTK was build with Cairo GObject support.

Parameters:

cr

the CairoContext to render to

rect

the area that was updated, view coordinates




2022 vala-language.org