PrintCompositor.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 gtksource.print_compositor.PrintCompositor.paginate function.

class PrintCompositor
void
setPrintLineNumbers
()

Parameters

interval uint

interval for printed line numbers.