SourcePrintCompositor


Object Hierarchy:

Object hierarchy for SourcePrintCompositor

Description:


public class SourcePrintCompositor : Object

Compose a [class@Buffer] for printing.

The `GtkSourcePrintCompositor` object is used to compose a [class@Buffer] for printing. You can set various configuration options to customize the printed output. `GtkSourcePrintCompositor` is designed to be used with the high-level printing API of gtk+, i.e. [ class@Gtk.PrintOperation].

The margins specified in this object are the layout margins: they define the blank space bordering the printed area of the pages. They must not be confused with the "print margins", i.e. the parts of the page that the printer cannot print on, defined in the [ class@Gtk.PageSetup] objects. If the specified layout margins are smaller than the "print margins", the latter ones are used as a fallback by the `GtkSourcePrintCompositor` object, so that the printed area is not clipped.


Namespace: Gtk

Content:

Properties:

Creation methods:

Methods:

Inherited Members: