snapshot_layer


Description:

[ NoWrapper ]
public virtual void snapshot_layer (TextViewLayer layer, Snapshot snapshot)

The snapshot_layer vfunc is called before and after the text view is drawing its own text.

Applications can override this vfunc in a subclass to draw customized content underneath or above the text. In the gtk_text_view_layer_below_text and gtk_text_view_layer_above_text layers the drawing is done in the buffer coordinate space.