PrintCompositor.setPrintLineNumbers
void setPrintLineNumbers(uint interval)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.
Parameters
interval | interval for printed line numbers. |