SourcePrintCompositor.setFooterFormat

Sets strftime like header format strings, to be printed on the left, center and right of the bottom of each page. The strings may include strftime(3) codes which will be expanded at print time. All strftime() codes are accepted, with the addition of #N for the page number and #Q for the page count. separator specifies if a solid line should be drawn to separate the footer from the document text. If NULL is given for any of the three arguments, that particular string will not be printed. For the footer to be printed, in addition to specifying format strings, you need to enable footer printing with gtk_source_print_compositor_set_print_footer(). This function cannot be called anymore after the first call to the gtk_source_print_compositor_paginate() function. Since 2.2

class SourcePrintCompositor
void
setFooterFormat
(,
string left
,
string center
,
string right
)

Parameters

separator int

TRUE if you want a separator line to be printed.

left string

a format string to print on the left of the footer. [allow-none]

center string

a format string to print on the center of the footer. [allow-none]

right string

a format string to print on the right of the footer. [allow-none]

Meta