Method

GtkSourcePrintCompositorget_n_pages

Declaration

gint
gtk_source_print_compositor_get_n_pages (
  GtkSourcePrintCompositor* compositor
)

Description

Returns the number of pages in the document or -1 if the document has not been completely paginated.

Return value

Returns: gint
 

The number of pages in the document or -1 if the document has not been completely paginated.