SourcePrintCompositor.paginate

Paginate the document associated with the compositor. In order to support non-blocking pagination, document is paginated in small chunks. Each time gtk_source_print_compositor_paginate() is invoked, a chunk of the document is paginated. To paginate the entire document, gtk_source_print_compositor_paginate() must be invoked multiple times. It returns TRUE if the document has been completely paginated, otherwise it returns FALSE. This method has been designed to be invoked in the handler of the "paginate" signal, Since 2.2

class SourcePrintCompositor
int
paginate

Parameters

context PrintContext

the GtkPrintContext whose parameters (e.g. paper size, print margins, etc.) are used by the the compositor to paginate the document.

Return Value

Type: int

TRUE if the document has been completely paginated, FALSE otherwise.

Meta