draw


Description:

[ Version ( since = "1.8" ) ]
public virtual signal bool draw (Context cr)

The draw signal is emitted each time a CairoTexture has been invalidated.

The passed Cairo context passed will be clipped to the invalidated area.

It is safe to connect multiple callbacks to this signals; the state of the Cairo context passed to each callback is automatically saved and restored, so it's not necessary to call save and restore.

Parameters:

cr

the Cairo context to use to draw

Returns:

true if the signal emission should stop, and false to continue