Klasse PrintSetup

Alle implementierten Schnittstellen:
PointerInterface

public class PrintSetup extends Record
An auxiliary object for printing that allows decoupling the setup from the printing.

A print setup is obtained by calling [method@Gtk.PrintDialog.setup],
and can later be passed to print functions such as [method@Gtk.PrintDialog.print].

Print setups can be reused for multiple print calls.

Applications may wish to store the page_setup and print_settings from the print setup
and copy them to the PrintDialog if they want to keep using them.

https://docs.gtk.org/gtk4/struct.PrintSetup.html

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getPageSetup

      public PageSetup getPageSetup()
      Returns the page setup of @setup.

      It may be different from the `GtkPrintDialog`'s page setup
      if the user changed it during the setup process.
      Gibt zurück:
      the page setup, or `NULL`
    • getPrintSettings

      public PrintSettings getPrintSettings()
      Returns the print settings of @setup.

      They may be different from the `GtkPrintDialog`'s settings
      if the user changed them during the setup process.
      Gibt zurück:
      the print settings, or `NULL`
    • ref

      public PrintSetup ref()
      Increase the reference count of @setup.
      Gibt zurück:
      the print setup
    • unref

      public void unref()
      Decrease the reference count of @setup.

      If the reference count reaches zero,
      the object is freed.
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()