PrintCompositor


Object Hierarchy:

GtkSource.PrintCompositor GtkSource.PrintCompositor GtkSource.PrintCompositor GLib.Object GLib.Object GLib.Object->GtkSource.PrintCompositor

Description:

[ CCode ( type_id = "gtk_source_print_compositor_get_type ()" ) ]
public class PrintCompositor : 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: GtkSource
Package: gtksourceview-5

Content:

Properties:

Creation methods:

Methods:

Inherited Members: