class Gtk::PrintSetup

Overview

An auxiliary object for printing that allows decoupling the setup from the printing.

A print setup is obtained by calling Gtk::PrintDialog#setup, and can later be passed to print functions such as 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.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/print_setup.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def finalize #

def page_setup : Gtk::PageSetup #

def print_settings : Gtk::PrintSettings #

def ref : Gtk::PrintSetup #

def to_unsafe : Pointer(Void) #

def unref : Nil #