虚函数
GtkTextViewsnapshot_layer
声明 [src]
void
snapshot_layer (
GtkTextView* text_view,
GtkTextViewLayer layer,
GtkSnapshot* snapshot
)
描述 [src]
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.
参数
layer
-
类型:
GtkTextViewLayer
无可用描述。
snapshot
-
类型:
GtkSnapshot
无可用描述。
数据由方法的调用者拥有。