Gjsify LogoGjsify Logo

Hierarchy

Index

Properties

bodyFontName?: string

Name of the font used for the text body.

Accepted values are strings representing a font description Pango can understand. (e.g. "Monospace 10"). See [funcPango.FontDescription.from_string] for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

buffer?: GtkSource.Buffer

The [classBuffer] object to print.

footerFontName?: string

Name of the font used to print page footer. If this property is unspecified, the text body font is used.

Accepted values are strings representing a font description Pango can understand. (e.g. "Monospace 10"). See [funcPango.FontDescription.from_string] for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

headerFontName?: string

Name of the font used to print page header. If this property is unspecified, the text body font is used.

Accepted values are strings representing a font description Pango can understand. (e.g. "Monospace 10"). See [funcPango.FontDescription.from_string] for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

highlightSyntax?: boolean

Whether to print the document with highlighted syntax.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

lineNumbersFontName?: string

Name of the font used to print line numbers on the left margin. If this property is unspecified, the text body font is used.

Accepted values are strings representing a font description Pango can understand. (e.g. "Monospace 10"). See [funcPango.FontDescription.from_string] for a description of the format of the string representation.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

printFooter?: boolean

Whether to print a footer in each page.

Note that by default the footer format is unspecified, and if it is unspecified the footer will not be printed, regardless of the value of this property.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

printHeader?: boolean

Whether to print a header in each page.

Note that by default the header format is unspecified, and if it is unspecified the header will not be printed, regardless of the value of this property.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

printLineNumbers?: number

Interval of printed line numbers.

If this property is set to 0 no numbers will be printed. If greater than 0, a number will be printed every "print-line-numbers" lines (i.e. 1 will print all line numbers).

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

tabWidth?: number

Width of a tab character expressed in spaces.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

wrapMode?: Gtk.WrapMode

Whether to wrap lines never, at word boundaries, or at character boundaries.

The value of this property cannot be changed anymore after the first call to the [methodPrintCompositor.paginate] function.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method