SourcePrintCompositor.setPrintLineNumbers

Sets the interval for printed line numbers. If @interval is 0 no numbers will be printed. If greater than 0, a number will be printed every @interval lines (i.e. 1 will print all line numbers).

Maximum accepted value for @interval is 100.

This function cannot be called anymore after the first call to the gtk_source_print_compositor_paginate() function.

class SourcePrintCompositor
void
setPrintLineNumbers
()

Parameters

interval uint

interval for printed line numbers.

Meta