SourcePrintCompositor.this

Creates a new print compositor that can be used to print the buffer associated with @view. This constructor sets some configuration properties to make the printed output match @view as much as possible. The properties set are #GtkSourcePrintCompositor:tab-width, #GtkSourcePrintCompositor:highlight-syntax, #GtkSourcePrintCompositor:wrap-mode, #GtkSourcePrintCompositor:body-font-name and #GtkSourcePrintCompositor:print-line-numbers.

Parameters

view SourceView

a #GtkSourceView to get configuration from.

Return Value

a new print compositor object.

Throws

ConstructionException GTK+ fails to create the object.

Meta