Method GTK2.SourcePrintJob()->setup_from_view()

class GTK2.SourcePrintJob

Method setup_from_view

GTK2.SourcePrintJob setup_from_view(GTK2.SourceView view)

Description

Convenience function to set several configuration options at once, so that the printed output matches view. The options set are buffer (if not set already), tabs width, highlighting, wrap mode and default font.